Queens

Arrange N Queens on a NxN chess board so they don't attack each other.

  • 23% branches
  • 45% memory instructions
  • No FP operations

Download : http://gd.tuwien.ac.at/perf/benchmark/aburto/queens/queens.c

Compile : gcc queens.c -O0 -DUNIX -o queens

Launch : queens -c 16

Results

Name CPU Type CPU Freq Time
Meta Intel Core 2 Duo 3.16 GHz 88.827 (Win32, Cl.exe)
pluton Opteron 250 2.40 GHz 177.828
MacBook Intel Core 2 Duo 2.20 GHz 199.548
micron Core 2 Duo L7500 1.60 GHz 208.780 (Win32, Cl.exe)
charon Pentium M 750 1.86 GHz 224.500 (Win32 Cygwin/GCC)
kant AMD Athlon XP 1900+ 1.60 GHz 235.575
zarathoustra Transmeta Crusoe TM5800 1.00 GHz 504.607
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki