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.
Contest Summary:
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.
Closing Date:
All entries in by Monday 14th April 2003 at 23.59 (GMT)
Submissions:
Entries to: contest@php-editors.com 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.
Judging:
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 Flash
No PHP extensions (other that default builds)
Maximum execution time 60 seconds (per deck)
All code must be writen by you !
Input:
5 separate runs using different deck.txt. See full details for more info.
Output:
List of operations used followed by the count, example (SFSCS5)
Prizes: