3 ms·
This is interesting. It might be worth noting somewhere how many bits is an Int on your test rigs. I got 94 using C in 12min (didn't check for overflows of lar
by Blasa 17y ago
This is interesting. It might be worth noting somewhere how many bits is an Int on your test rigs.
I got 94 using C in 12min (didn't check for overflows of large numbers, silly haskell making me used to Integers).
- jakacki 17y agoGenerally we don't want to penalize people too badly for assuming particular (but realistic) type ranges, nevertheless we think that perfect solution should be as portable as possible across different implementations of the language (e.g. one should not assume that C's int is 32 bits wide, since implementation with 16-bit int can still be Standard compliant)