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