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
Everyone 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.
- 8-Sandeep Desai (C++) Time = 0.000000002477237
- 3-Heithoff (Java) Time = 0.00000016044
- 5-Matthew Yin (C++) Time = 0.000000474994
- 2-Brendan van der Es (Java) Time = 0.0000015261
- 7-David Lotts (Java) Time = 0.000291
- 6-Hussain Rangwala (Java) Time = 0.0030335
- 1-Namit Swaroop (C#) Time = 0.00400002
- 4-Ramesh Kapa (Java) Time = 5.738
- 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.