foo.cc: In function 'int main()':
foo.cc:13:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
13 | else if(n==3)
| ^~
foo.cc:15:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
15 | cout<<"4 1 8"<<endl;
| ^~~~
foo.cc: At global scope:
foo.cc:18:2: error: expected unqualified-id before 'else'
18 | else if(n==4)
| ^~~~
foo.cc:25:2: error: expected unqualified-id before 'else'
25 | else
| ^~~~
foo.cc:33:2: error: expected unqualified-id before 'return'
33 | return 0;
| ^~~~~~
foo.cc:34:1: error: expected declaration before '}' token
34 | }
| ^
[Hydro](https://hydro.ac)提供评测服务