This time limits too:

=====================================================
import psyco
psyco.full()

import sys

def foo():
    ##sys.stdin = open('D:/1583.txt', 'rt')
    a = sys.stdin.readlines()
    a = a[1:int(a[0]) + 1]
    for ai in a:
        x, y = ai.split()
        sys.stdout.write(str(int(x) * int(y)) + '\n')

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

Reply via email to