Hi Chris On the problem page, it is 3 second. > What is the time limit? I just tried it (Python 2.6 under Windows) and > > it finished in a humanly-immeasurable amount of time. Are you sure > > that STDIN (eg raw_input()) is where your test data is coming from?
Yes, on SPOJ we read data from STDIN. Regards Mukesh Tiwari > > > > ChrisA -- http://mail.python.org/mailman/listinfo/python-list