On Oct 4, 12:08 pm, n00m <n...@narod.ru> wrote: > Duncan Booth, > > alas... still TLE: > > 2800839 > 2009-10-04 13:03:59 > Q > Enormous Input and Output Test > time limit exceeded > - > 88M > PYTH
Just to throw into the mix... What about buffering? Does anyone know what the effective stdin buffer is for Python? I mean, it really can't be the multiplying that's a bottleneck. Not sure if it's possible, but can a new stdin be created (possibly using os.fdopen) with a hefty buffer size? I'm probably way off, but something to share. Cheers, Jon. -- http://mail.python.org/mailman/listinfo/python-list