I have run my code against the source at SWERC and it works OK on my python 2.6 installation.
I get NZEC on SPOJ and on IDEONE(2.7) .( parser is trying to read beyond end of file)
Using eval is too slow but the parser module brings the time down to about 0.8 sec
so there is a good chance that I could creep in under the limit. However, there seems
to be a bug in the 2.7 version of parser and also in whatever version is running on SPOJ.
Can anybody suggest any alternatives to parser?
BTW I have a long list of NZECS submitting code using eval(instead of parser) and psyco.
Are there any machines accepting psyco on SPOJ now?