/in/foo.cc: In function 'int main()':
/in/foo.cc:7:23: warning: for increment expression has no effect [-Wunused-value]
7 | for(int i=1;;i<=n;i++){
| ~^~~
/in/foo.cc:7:26: error: expected ')' before ';' token
7 | for(int i=1;;i<=n;i++){
| ~ ^
| )
/in/foo.cc:7:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
7 | for(int i=1;;i<=n;i++){
| ^~~
/in/foo.cc:7:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
7 | for(int i=1;;i<=n;i++){
| ^
/in/foo.cc:7:27: error: 'i' was not declared in this scope