Hacker News new | ask | show | jobs
by Blasa 6011 days 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).

1 comments

Generally 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)