Enormous Input and Output Test

Jon Clements joncle at googlemail.com
Sun Oct 4 08:15:44 EDT 2009


On Oct 4, 12:08 pm, n00m <n... at 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.



More information about the Python-list mailing list