Main.cc: In function 'int main()': Main.cc:7:5: error: expected ';' before 'while' while (t--) { ^ Main.cc:5:12: warning: unused variable 'n' [-Wunused-variable] int t, n; ^ Main.cc:14:1: error: expected '}' at end of input } ^