Factorial Fluency Challenge Update

Here are some Intermediate results from our Factorial Fluency Coding Challenge. Of the 27 entries received thus far, I’ve marked 11 and omitted two because of errors. Results

Bicycle raceEveryone who entered should have received an email back acknowledging the entry. If you haven’t, then please contact me.

It’s an interesting example of Java v C++/C# and so far it’s C++ that has the fastest time, being 9 billion times faster than the slowest one that took 5.78 seconds. With 15 more entries to mark there may still be surprises.

All the times below are in seconds.

  1. 8-Sandeep Desai (C++) Time = 0.000000002477237
  2. 3-Heithoff (Java) Time = 0.00000016044
  3. 5-Matthew Yin (C++) Time = 0.000000474994
  4. 2-Brendan van der Es (Java) Time = 0.0000015261
  5. 7-David Lotts (Java) Time = 0.000291
  6. 6-Hussain Rangwala (Java) Time = 0.0030335
  7. 1-Namit Swaroop (C#) Time = 0.00400002
  8. 4-Ramesh Kapa (Java) Time = 5.738
  9. 9-Joel Harvell (C#) Time = 23.0840523

A request for anyone submitting Java entrie: Please don’t use a package name at the top of your source file that includes the main function. I’m compiling Java entries from the command line using javac, then running using Java. If a package name is included, then Java expects the folder structure to reflect this. Without the package name, Java happily runs the class file in any folder. I numbered the entries in the order received, and put the files in a numbered folder. The source files that I’ll eventually upload to SourceForge will have these numbers on.

Remember, you can submit better entries right up to the deadline of midnight, Oct. 31.

Comments

  1. BY Richard Vasquez says:

    Wow! Good job, (so far :) ) Sandeep! I’m glad I spent the time optimizing so I’m at least in the neighborhood. Hopefully.

  2. Yea, great job Sandeep! 2.4 nanoseconds is incredible; I look forward to seeing your solution.

    I’m pretty sure my solution should be a factor of ten faster, I’m getting 175 nanoseconds om my computer..

  3. BY Karl says:

    TANSTATFC

Post a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>