foo.cc:9:11: error: stray '\357' in program
9 | for(;;)
| ^
foo.cc:9:12: error: stray '\274' in program
9 | for(;;)
| ^
foo.cc:9:13: error: stray '\211' in program
9 | for(;;)
| ^
foo.cc: In function 'int main()':
foo.cc:10:5: error: expected primary-expression before '{' token
10 | {
| ^
foo.cc:9:11: error: expected ')' before '{' token
9 | for(;;)
| ~ ^
| )
10 | {
| ~
foo.cc:15:10: error: expected ';' before ')' token
15 | for(n!=0)
| ^
| ;
foo.cc:15:7: warning: statement has no effect [-Wunused-value]
15 | for(n!=0)
| ~^~~
foo.cc:26:5: error: expected primary-expression before 'return'
26 | return 0;
| ^~~~~~
foo.cc:25:3: error: expected ';' before 'return'
25 | }
| ^
| ;
26 | return 0;
| ~~~~~~
foo.cc:26:5: error: expected primary-expression before 'return'
26 | return 0;
| ^~~~~~
foo.cc:25:3: error: expected ')' before 'return'
25 | }
| ^
| )
26 | return 0;
| ~~~~~~
foo.cc:15:5: note: to match this '('
15 | for(n!=0)
| ^
[Hydro](https://hydro.ac)提供评测服务