News for hackers. Stuff that matters.
Re:Ruby is too slow for programming competitions by Luit on Sunday April 21, 2013 @04:20PM (#5586259)
A slightly more interesting approach: find out all non-overlapping ranges you need to test, and then run the fair-and-square generator, testing each to check in which of the ranges it should be put, finally combining the sub-ranges to make the ranges asked for. My (not particularly optimized) Go solution ran through the C-large-1.in set in 3 odd seconds.

There are no comments on this comment yet.