http://www.spoj.pl/problems/TMUL/
Python's "print a * b" gets Time Limit Exceeded.
=============================================
PHP's code
=============================================
fscanf(STDIN, "%d\n", &$tcs);
while ($tcs--) {
fscanf(STDIN, "%s %s\n", &$n, &$m);
echo bcmul($n, $m, 0)."\n";
}
=============================================
does it in 4.8s
--
http://mail.python.org/mailman/listinfo/python-list
