This contest is intended for the PHP Programmer with more than
6 months experience. You will be given strict instructions and it's
your job to create the most effective coded solution.
You will be asked to sort many decks of jumbled cards back into
order, using only three operations - Shuffle, Cut and Flip. Decks
may have anything from 2-52 cards (even numbers only 2,4,10,20 etc...).
Click here for full details.
All entries in by Monday 14th April 2003 at 23.59 (GMT)
Entries to: firstname.lastname@example.org before the
closing date. Please include your username (from the forum) and contact details
(including prefered language and platform) in a
text file named contact.txt. Submissions should be zipped.
This contest has several judges, scoring will use the
following (in order).
Minimum number of moves to solve the puzzle (or at least a good try).
In the event of more than one submission having the same score the
fastest script will win.
SEE FULL DETAILS FOR MORE ON SCORING.
Rules and Restrictions:
Must run on Windows, Unix Systems
Must run with PHP4.2 (register globals off)
No Client Scripts
No PHP extensions (other that default builds)
Maximum execution time 60 seconds (per deck)
All code must be writen by you !
5 separate runs using different deck.txt. See full details for more info.
List of operations used followed by the count, example (SFSCS5)