Enormous Input and Output Test
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Wed Oct 7 22:35:39 CEST 2009
> numerix's solution was excelled by Steve C's one (8.78s):
> I don't understand nothing.
I just got my solution accepted, it ran in 14 seconds though.
I have no idea how to shave more seconds off, so I think 7.5 seconds for the fastest
solution is really mindboggling.
Things that eventually made my solution run within the time limit:
- I didn't use int()
- I used Psyco
Those two resulted in the biggest speed increase.
Tweaking with buffered/unbuffered IO was insignificant.
More information about the Python-list