foo.c:1:1: warning: data definition has no type or storage class
1 | a=int(input())
| ^
foo.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
foo.c:1:3: error: expected expression before 'int'
1 | a=int(input())
| ^~~
foo.c:3:1: warning: data definition has no type or storage class
3 | c=0
| ^
foo.c:3:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
foo.c:4:1: error: expected ',' or ';' before 'for'
4 | for i in range(0,a):
| ^~~
[Hydro](https://hydro.ac)提供评测服务