foo.cc: In function 'int main()':
foo.cc:7:10: error: expected ';' before ')' token
7 | for (1<a)
| ^
| ;
foo.cc:7:8: warning: statement has no effect [-Wunused-value]
7 | for (1<a)
| ~^~
foo.cc:12:2: error: expected primary-expression before 'return'
12 | return 0;
| ^~~~~~
foo.cc:11:6: error: expected ';' before 'return'
11 | }
| ^
| ;
12 | return 0;
| ~~~~~~
foo.cc:12:2: error: expected primary-expression before 'return'
12 | return 0;
| ^~~~~~
foo.cc:11:6: error: expected ')' before 'return'
11 | }
| ^
| )
12 | return 0;
| ~~~~~~
foo.cc:7:6: note: to match this '('
7 | for (1<a)
| ^
foo.cc:5:8: warning: unused variable 'c' [-Wunused-variable]
5 | int a,c;
| ^
[Hydro](https://hydro.ac)提供评测服务