foo.c:2:1: warning: data definition has no type or storage class
n=int(input('number of tests:'))
^
foo.c:2:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
foo.c:2:3: error: expected expression before 'int'
n=int(input('number of tests:'))
^~~
foo.c:2:13: warning: character constant too long for its type
n=int(input('number of tests:'))
^~~~~~~~~~~~~~~~~~
foo.c:5:16: warning: character constant too long for its type
s=s+int(input('score'))
^~~~~~~
[Hydro](https://hydro.ac)提供评测服务