import sysdata=sys.stdin def gcd(a,b): if b==0: return a else: return gcd(b,a%b) t=int(data.readline())while t: a,b=map(int,data.readline().split('')) t-=1 print gcd(a,b)
2 2 6 10 11
Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/py_compile.py", line 117, in compile raise py_exc py_compile.PyCompileError: Sorry: IndentationError: expected an indented block (prog.py, line 6)
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!