Main.cc: In function ‘int main()’: Main.cc:9:6: error: expected primary-expression before ‘int’ fot(int i=0; i<=n; i++) { ^~~ Main.cc:9:15: error: ‘i’ was not declared in this scope fot(int i=0; i<=n; i++) { ^ Main.cc:8:6: warning: unused variable ‘score’ [-Wunused-variable] int score[n]; ^~~~~