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