C Board  

Go Back   C Board > Community Boards > Contests Board

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2006, 07:28 AM   #1
Tropical Coder
 
Darryl's Avatar
 
Join Date: Mar 2005
Location: Cayman Islands
Posts: 503
Sudoku Contest Invitiation

http://www.cpp-home.com/forum/viewto...1dff3fc3b520b7

It's a contest to generate a completed sudoku puzzle in the fewest amount of tokens... see link to thread for details

Thanks,
Darryl
Darryl is offline   Reply With Quote
Old 01-20-2006, 09:20 AM   #2
Registered User
 
kryptkat's Avatar
 
Join Date: Dec 2002
Posts: 409
Quote:
relationships between numerals are absolutely irrelevant
sudoku ... what is that? the japanese way of trying to hit the lottery numbers?

i read the http://en.wikipedia.org/wiki/Sudoku page. i still do not get it. if no mathmatical relationships between numerals that are absolutely irrelevant then how do you know if it is correct or not? and are there some start numbers or was that just an example of partly compleaated?
kryptkat is offline   Reply With Quote
Old 01-20-2006, 11:30 AM   #3
Magically delicious
 
LuckY's Avatar
 
Join Date: Oct 2001
Posts: 856
Su Doku is a puzzle. It consists of nine boxes composed of nine cells. Each box has each digit from 1 to 9. Each puzzle-wide row and column (spanning three boxes) has each digit from 1 to 9. This inherently restricts duplicate digits from any box, row, or column.

The puzzle starts out with just a few numbers present in seemingly random places in the grid and the player's goal is to fill in all the blank cells. Given a correct starting puzzle, there is one and only one solution.
LuckY is offline   Reply With Quote
Old 01-20-2006, 11:55 AM   #4
and the hat of marbles
 
Sang-drax's Avatar
 
Join Date: May 2002
Location: Göteborg, Sweden
Posts: 2,038
Quote:
Originally Posted by kryptkat
Quote:
relationships between numerals are absolutely irrelevant.
You misquoted Wikipedia, the page says:
Quote:
arithmetic relationships between numerals are absolutely irrelevant.
__________________
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Sang-drax is offline   Reply With Quote
Old 01-20-2006, 12:19 PM   #5
Cheesy Poofs!
 
PJYelton's Avatar
 
Join Date: Sep 2002
Location: Boulder
Posts: 1,728
Bah, why are all contest I see shortest or obfuscated code contests, or in this case both more or less? Its like having a contest to write the best short-story but then saying you can't use the letter 'e'. The shortest algorithms usually does not make it the best or most elegant algorithm. Easy to grade I guess?

Last edited by PJYelton; 01-20-2006 at 12:41 PM.
PJYelton is offline   Reply With Quote
Old 01-20-2006, 02:27 PM   #6
Registered User
 
kryptkat's Avatar
 
Join Date: Dec 2002
Posts: 409
Quote:
Each box has each digit from 1 to 9. Each puzzle-wide row and column (spanning three boxes) has each digit from 1 to 9. This inherently restricts duplicate digits from any box, row, or column.
how about diagonally?

Quote:
Given a correct starting puzzle, there is one and only one solution.
well? is there a starting puzzle?

ps sangdrax it is funnier the ohter way...
kryptkat is offline   Reply With Quote
Old 01-20-2006, 03:18 PM   #7
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,439
Quote:
Originally Posted by kryptkat
how about diagonally?
No limitations.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 01-20-2006, 04:27 PM   #8
Magically delicious
 
LuckY's Avatar
 
Join Date: Oct 2001
Posts: 856
Quote:
how about diagonally?
Just within the box, rows, and columns. Diagonally wouldn't make sense because there are only two diagonals with 9 cells.

Quote:
well? is there a starting puzzle?
Every complete puzzle, of which there are billions of trillions, has practically countless starting puzzles depending on how many "givens" (or clues) there are and how many blank cells there are. There isn't a single puzzle given to beginners which you can call "the starter puzzle." By that term, I just mean the grid & values you start out with to solve the puzzle.

Check out websudoku. It's the best source for clean, easy, free play I've found. It's a challenging and very fun game (if you like challenging games).
LuckY is offline   Reply With Quote
Old 01-20-2006, 04:29 PM   #9
Cheesy Poofs!
 
PJYelton's Avatar
 
Join Date: Sep 2002
Location: Boulder
Posts: 1,728
Quote:
Originally Posted by kryptkat
well? is there a starting puzzle?
No starting puzzle, you just need to create a program that can generate a finished answer from a blank board, creating a random answer each time it is run.

In other words, when you run the program it spits out a random finished soduku board.
PJYelton is offline   Reply With Quote
Old 01-20-2006, 06:57 PM   #10
and the hat of marbles
 
Sang-drax's Avatar
 
Join Date: May 2002
Location: Göteborg, Sweden
Posts: 2,038
Quote:
Originally Posted by PJYelton
Its like having a contest to write the best short-story but then saying you can't use the letter 'e'.
Are you thinking of http://www.amazon.com/gp/product/156...books&v=glance €?
__________________
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Sang-drax is offline   Reply With Quote
Old 01-21-2006, 02:10 AM   #11
Cheesy Poofs!
 
PJYelton's Avatar
 
Join Date: Sep 2002
Location: Boulder
Posts: 1,728
What is that book about? I don't see a synopsis anywhere on the page. I'm guessing an entire story without the letter 'e'?
PJYelton is offline   Reply With Quote
Old 01-21-2006, 02:49 AM   #12
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 10,368
Quote:
if no mathmatical relationships between numerals that are absolutely irrelevant then how do you know if it is correct or not?
I think that statement was just to convey the idea that each line or group consists of 9 distinct symbols. Whether the symbols are numerals, alphanumeric, or are not (yet) in Unicode doesnt matter.

Quote:
Its like having a contest to write the best short-story but then saying you can't use the letter 'e'.
Gadsby
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is online now   Reply With Quote
Old 01-21-2006, 09:12 AM   #13
and the hat of marbles
 
Sang-drax's Avatar
 
Join Date: May 2002
Location: Göteborg, Sweden
Posts: 2,038
Quote:
Originally Posted by PJYelton
I'm guessing an entire story without the letter 'e'?
You guess correctly. It was originally written in French and amazingly enough translated into English successfully. It was referenced in "The Code Book" by Simon Singh; that's where I know it from.
__________________
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Sang-drax is offline   Reply With Quote
Old 01-21-2006, 02:07 PM   #14
Registered User
 
kryptkat's Avatar
 
Join Date: Dec 2002
Posts: 409
Quote:
Originally Posted by PJYelton
Its like having a contest to write the best short-story but then saying you can't use the letter 'e'.
M30w!
kryptkat is offline   Reply With Quote
Old 01-24-2006, 10:31 AM   #15
Tropical Coder
 
Darryl's Avatar
 
Join Date: Mar 2005
Location: Cayman Islands
Posts: 503
Quote:
Originally Posted by PJYelton
Bah, why are all contest I see shortest or obfuscated code contests, or in this case both more or less? Its like having a contest to write the best short-story but then saying you can't use the letter 'e'. The shortest algorithms usually does not make it the best or most elegant algorithm. Easy to grade I guess?
I have been trying to host monthly contest over at cpp-home. From my experience, most people are too busy to do any "complicated" coding and therefore don't participate in say for example AI contest(unless there is a prize). Therefore, what I have found is that many people, even beginners will at least try their hand at a very simple algorithm ( ie generating a sudoku) and then "optimizing/obfuscating" as time allows.

Also keep in mind that these are contest and not just "challenges" like you'd find at mathschallenge.com..or other "algorithm" type challenges I've seen here. So there is also the difficulty of finding a unique idea (can't just google an answer) that is easy to judge objectively.

With that said, what suggestions can you give?
Darryl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expression Evaluator Contest Stack Overflow Contests Board 20 03-29-2005 10:34 AM
Obfuscated Code Contest Stack Overflow Contests Board 51 01-21-2005 04:17 PM
WANTED: Contest Master kermi3 A Brief History of Cprogramming.com 15 01-23-2003 10:15 PM


All times are GMT -6. The time now is 01:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22