fork(1) download
  1. # your code goes here
  2. cases=int(input())
  3. while(cases):
  4. cases=cases-1
  5. n,m=map(int(input()))
  6. arr=eval(map(input()))
  7. print(n)
  8. print(arr)
Runtime error #stdin #stdout #stderr 0s 9992KB
stdin
1
6 3
2 4 1
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 5, in <module>
ValueError: invalid literal for int() with base 10: '6 3'