And this code time limits (no matter with or without Psyco):

import psyco
psyco.full()

import sys

def foo():
    ##sys.stdin = open('D:/1583.txt', 'rt')
    sys.stdin.readline()
    while 1:
        try:
            x, y = sys.stdin.readline().split()
            sys.stdout.write(str(int(x) * int(y)) + '\n')
        except:
            break

foo()
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to