foo.cc: In function 'int main()':
foo.cc:21:10: error: expected unqualified-id before numeric constant
21 | for(int 0;i<N;i++)
| ^
foo.cc:21:9: error: expected ';' before numeric constant
21 | for(int 0;i<N;i++)
| ^~
| ;
foo.cc:21:12: error: 'i' was not declared in this scope
21 | for(int 0;i<N;i++)
| ^
foo.cc:21:15: error: expected ')' before ';' token
21 | for(int 0;i<N;i++)
| ~ ^
foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
21 | for(int 0;i<N;i++)
| ^~~
foo.cc:21:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | for(int 0;i<N;i++)
| ^
foo.cc:21:16: error: 'i' was not declared in this scope
[Hydro](https://hydro.ac)提供评测服务