foo.c: In function 'main':
foo.c:8:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
8 | for(int i<n;i<n;i++)
| ^
foo.c:8:14: error: 'i' undeclared (first use in this function)
8 | for(int i<n;i<n;i++)
| ^
foo.c:8:14: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:17: error: expected ')' before ';' token
8 | for(int i<n;i<n;i++)
| ~ ^
| )
foo.c:12:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
12 | for(int i<n;i<n;i++)
| ^
foo.c:12:17: error: expected ')' before ';' token
12 | for(int i<n;i<n;i++)
| ~ ^
| )
foo.c:17:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
17 | for(int i<n;i<n;i++)
| ^
foo.c:17:17: error: expected ')' before ';' token
17 | for(int i<n;i<n;i++)
| ~ ^
| )
foo.c:6:6: warning: variable 'taotao' set but not used [-Wunused-but-set-variable]
6 | int taotao[2010];
| ^~~~~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~
foo.c:14:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d",&c);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务