N-Queens results on Casio calculators
|
08-14-2024, 10:23 AM
(This post was last modified: 08-14-2024 03:48 PM by Hlib.)
Post: #7
|
|||
|
|||
RE: N-Queens results on Casio calculators
A few comments about the "8-queens benchmark" program for CASIO calculators, a variant with Goto and Lbl. It is necessary to delete the useless Deg (or Rad) command and swap the two operators. The speed of calculations will not change at all, but the program code will look better.
Code:
Here are the results for comparison. FX-9860GII-2, integer mode (CBASIC ver.2.45): t=0.661_sec without parentheses t=0.481_sec with parentheses (×1.4 times faster). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)