in reply to Re^2: [code challenge] knights move
in thread [code challenge] knights move
Just run it. :)
0-8 means start in upper left corner and go down two and right one. Double check the code, The 0 is the skip from the start of string, and the 8 is the gap (in bytes) between the squares to be swapped.
This program runs in just under seven seconds on my machine, an AMD Athlon(tm) Dual Core Processor 5050e running at 2.8GHz.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: [code challenge] knights move
by LanX (Saint) on Jun 21, 2015 at 23:04 UTC |