Sudoku Solver ... help ...

Programming, for all ages and all languages.
Post Reply
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Sudoku Solver ... help ...

Post by DeletedAccount »

Hi ,
This is the sudoku solver i created to win second prize in an inter colleage coding contest ... I almost all the time reach the finals (after a objective type C/C++ knockout round ) and misses out in the finals ... I have won lot of second and third prizes but not the first prize ...I am frustrated .. I want to be a better coder .. I am submitting a sudoku solver i created ... I would be grateful if experienced programmers here can give a suggestion on improving my programming style so that i can win the first price the next time ... I am a moron ... I am not a very intelligent fellow .... but i am hard working fellow ... I am willing to work hard and harder ....In fact i am fool ....

The i code i submit does not perform any input validation and i polished the source code a bit .. so that its more readable ... The time taken was about 1 hour 30 mins ... I used Dev-Cpp as the IDE

Regards
Sandeep Mathew
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

The i code i submit does not perform any input validation
There ya go #-o
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Well ...

Post by DeletedAccount »

I asked them explicitly whether input validation is required and they said it was not needed ...Also the time provided is very short ... Thats why i didnt perform any input validation .. Also any comments to improve the above program will be very helpful
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

is it windows? or does it have to be portable?

if windows, create a basic GUI, with some fancy styles, and a progress bar or something
~ Lukem95 [ Cake ]
Release: 0.08b
Image
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Please do download the attachment

Post by DeletedAccount »

Hi,
Please do download the attachement ... It does have a basic gui ...
Post Reply