498 while 1: try: x=int(input()) a=list(map(int,input().split())) n=len(a...
Symmetric Matrix T=input() for t in range(int(T)): n=list(input().split()) n=i...
Beat the Spread! T=input() for t in range(int(T)): a,b=map(int,input().split())...
B2-Sequence*CPE48-23 t=0 while 1: try: if t>0: space=input() t+=1 T...
An Easy Problem! arr=list('0123456789'+'ABCDEFGHIJKLMNOPQRSTUVWXYZ'+'abcdefghijk...
Fibonaccimal Base fib=[2,1] for i in range(40): fib.insert(0,fib[0]+fib[1]) T=i...
Back to High School Physics while 1: try: a,b=map(int,input().split()) prin...
Simply Emirp while 1: try: a=input() b=a[::-1] a,b=int(a),int(b) c=0...
2 the 9s while 1: try: a=input() x=a if a=='0': break if int(a)%9!=0...
Largest Square T=input() for t in range(int(T)): x,y,TT=map(int, input().split(...