foo.c: In function 'main':
foo.c:5:13: error: redefinition of 'c'
5 | int c=a;
| ^
foo.c:3:21: note: previous definition of 'c' with type 'int'
3 | int a=0,b=0,c=0;
| ^
foo.c:7:10: warning: statement with no effect [-Wunused-value]
7 | a/10;
| ~^~~
foo.c:13:32: error: expected ';' before ':' token
13 | for(int m=0;m<i:m++){
| ^
| ;
foo.c:17:20: error: expected ';' before '}' token
17 | a=c
| ^
| ;
18 | }
| ~
foo.c:20:22: error: subscripted value is neither array nor pointer nor vector
20 | c=c+a[i];
| ^
foo.c:10:13: warning: variable 'n' set but not used [-Wunused-but-set-variable]
10 | int n[b];
| ^
[Hydro](https://hydro.ac)提供评测服务