fork download
  1. for _ in range(int(input())):
  2. n=input()
  3. list=[]
  4. k=len(input())
  5. for i in range(k):
  6. n[k-i-1]=int(list[i])
  7. for i in range(len(list)):
  8. sum+=list[i]
  9.  
Runtime error #stdin #stdout #stderr 0.02s 27712KB
stdin
1
465
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 4, in <module>
EOFError: EOF when reading a line