-
Aug 30th, 2005, 07:21 PM
#401
Re: Contest 6 - Sudoku solver - Discussion
Well I'm mad. I finally got around to seeing why my program didn't solve all the puzzles and it looks like I just submitted the wrong copy of my code because I was submitting it in such a rush. Too bad I suppose. I still learned a lot in the process.
I really hope one of the mods hosts another contest soon. This was a lot of fun.
-
Aug 30th, 2005, 07:48 PM
#402
Re: Contest 6 - Sudoku solver - Discussion
I must say I'm glad you all enjoyed it.
It's a shame there were only a few entries in the end, but congratulations to those of you who managed to create a working solver, even if it wasn't the fastest.
-
Aug 30th, 2005, 07:57 PM
#403
-
Aug 31st, 2005, 03:55 PM
#404
New Member
Re: Contest 6 - Sudoku solver - Discussion
Hi
I am trying to write a pure logic solver, I have got quite far. It is a pitty I didnt see this sooner or I could have entered my solution, which solves most medium level puzzles without guessing. Is there going to be a re-run? if not I will post my solution and hopefully get some help in finishing it! (translating the solving tactics into code is a bit of a nightmare)
-
Aug 31st, 2005, 06:35 PM
#405
-
Aug 31st, 2005, 06:45 PM
#406
Re: Contest 6 - Sudoku solver - Discussion
I might start a contest thingy later on, I'm not sure if I'll have the time to keep it up. But one can always try
-
Aug 31st, 2005, 06:48 PM
#407
-
Aug 31st, 2005, 07:07 PM
#408
New Member
Re: Contest 6 - Sudoku solver - Discussion
When i finish it i shall only post the algorithm not all the other stuff that was needed for the contest,it will take too much time otherwise. it will be interesting to see how they compare, i am doing something similar to merri but instead of using a string of bytes i am using arraycandidate(81,9) and arraysolution(81) and some nifty loops!
i presume bytes are faster to process or whatever but i would have thought to manipulate the byte strings to hold the data you want would take up more effort than manipulating arrays? dunno we shall see.
ps i am a vb noob
-
Aug 31st, 2005, 07:10 PM
#409
-
Aug 31st, 2005, 07:13 PM
#410
Re: Contest 6 - Sudoku solver - Discussion
Originally Posted by manavo11
BTW Merri, don't you want your contest prize?
Atm I don't see much value into it, I already have a custom title and I don't see a need to put colors into it etc.
Originally Posted by char1iecha1k
i am doing something similar to merri but instead of using a string of bytes i am using arraycandidate(81,9) and arraysolution(81) and some nifty loops!
i presume bytes are faster to process or whatever but i would have thought to manipulate the byte strings to hold the data you want would take up more effort than manipulating arrays?
Long arrays are faster, because processors are 32-bit. The processors are optimized for 32-bit values, thus 32-bit values are the fastest. From the sound of it, it looks like you're doing something completely different than what I did
What are byte strings? If you mean string data type, I have to tell you: they're very slow in VB, because strings are very wise and easy to use. Thus a lot of extra code checking for various things -> slow.
Last edited by Merri; Aug 31st, 2005 at 07:17 PM.
-
Aug 31st, 2005, 07:16 PM
#411
-
Aug 31st, 2005, 07:21 PM
#412
Re: Contest 6 - Sudoku solver - Discussion
Alternate Blue and White to match the sky in your new avatar
-
Sep 1st, 2005, 10:06 AM
#413
Re: Contest 6 - Sudoku solver - Discussion
Congrats to all contestents. Sole VB.Net entry? I'm depressed.
My timings are generated but are copied to the clipboard instead of being printed out to a file.
-
Sep 1st, 2005, 10:28 AM
#414
Re: Contest 6 - Sudoku solver - Discussion
My Generator is VBNet.
Its got a solver.
I should have entered.
My solver wasn't designed for a speed competition, so its safe to say you'd still have won.
Boy, I really have an urge to attach some more msk files.
But I guess that'd be a waste of my attachment allotment.
Maybe in a month or so, when I get around to building Linked Sudokus.
-Lou
-
Sep 7th, 2005, 06:17 AM
#415
Member
Re: Contest 6 - Sudoku solver - Discussion
Originally Posted by dglienna
I don't think so. Entered code will be available after the contest ends. It will be a learning experience for everyone, and things can continue after it ends. The thread was started before the contest was even brought up.
I notice a sharp drop in board activity, though.
So, who is still working on his/her program ?
Who did understand the other programs and was able to include
some ideas from them into his own program ?
-
Jan 18th, 2012, 11:45 PM
#416
Re: Contest 6 - Sudoku solver - Discussion
This is a ridiculous post bump, but I just wanted to say (6.5 years later!) that I think about this contest often. It was a fun problem to solve right when I started getting into programming. And now I code for a living. Hope everyone in the VB6 forums community is doing well. If anyone wants to reconnect with me, I'm over at blanchardjeremy.com. <3
-
Sep 7th, 2012, 02:15 PM
#417
Re: Contest 6 - Sudoku solver - Discussion
As ridiculous reply an additional half a year later!
- I also remember this contest every now and then. A shame there wasn't other as successful ones.
- I still don't code for a living.
- But I'm well, I've found my way to worklife after having huge difficulties most of the 00's.
- In programming I've switched to PHP/JavaScript, maybe finally C++ soon enough.
- I no longer do VB6 at all - a hard language to drop as it does have a lot of fun parts despite many huge limitations.
Originally Posted by penagate
I understand the concept but can't for the life of me solve one by hand.
To this day I haven't solved a single sudoku by hand. I can write a program that does it, but doing it by hand just isn't something I'd be interested of.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|