in reply to Re: Golf: Movie style code cracker.
in thread Golf: Movie style code cracker.
This (from the OP):
So, supplied with a command line argument, D, indicating the number of (numeric) digits, code a routine that picks (fairly) a random code, C, in the range 0 .. 1eD -1,
Means that if the command line argument (D) is 4, then the range is 0 .. 1e4-1. Ie 0 .. 9999
For D = 10, then the range is 0 .. 1e10 -1. Ie. 0 .. 9999999999
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Golf: Movie style code cracker.
by Anonymous Monk on Sep 13, 2008 at 11:15 UTC | |
by BrowserUk (Patriarch) on Sep 13, 2008 at 11:47 UTC |