Main.cc: In function ‘int main()’: Main.cc:8:10: error: expected unqualified-id before numeric constant for(int 1; i<=n; i++) { ^ Main.cc:8:9: error: expected ‘;’ before numeric constant for(int 1; i<=n; i++) { ^~ ; Main.cc:8:13: error: ‘i’ was not declared in this scope for(int 1; i<=n; i++) { ^ Main.cc:8:17: error: expected ‘)’ before ‘;’ token for(int 1; i<=n; i++) { ~ ^ ) Main.cc:8:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int 1; i<=n; i++) { ^~~ Main.cc:8:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ for(int 1; i<=n; i++) { ^ Main.cc:8:19: error: ‘i’ was not declared in this scope Main.cc:18:13: error: unable to find numeric literal operator ‘operator""i’ for(int i=1i<=n; i++) { ^~ Main.cc:18:13: note: use -fext-numeric-literals to enable more built-in suffixes Main.cc:18:23: error: expected ‘;’ before ‘)’ token for(int i=1i<=n; i++) { ^ ; Main.cc:7:6: warning: unused variable ‘score’ [-Wunused-variable] int score[n]; ^~~~~