8-Queens Benchmark
|
07-10-2016, 03:21 AM
(This post was last modified: 07-10-2016 03:34 AM by Accutron.)
Post: #19
|
|||
|
|||
RE: 8-Queens Benchmark
Timing it with a stopwatch, I got 12.07, 12.12, 12.08, but of course there was a small ~0.1 second delay between when the program finished and when I mashed the stop button on the watch, so the completion time is pretty much exactly 12 seconds. Well, to be more specific, it's 12 seconds before I get an Error 15 at Line 10 - printer out of paper Changing the prt to a dsp in Line 10 gives the result 876.00 on the line display, which I believe is the correct answer.
I did run into a couple syntax errors while entering the program. In Line 1, it looks like there should be quotes around L5, and in Line 8 the colon should be a semicolon? That's where the debug cursors were placed, at least. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)