Main.cc: In function 'int main()': Main.cc:4:9: error: 'n' was not declared in this scope cin >> n; ^ Main.cc:7:13: error: 'shu' was not declared in this scope cin >> shu; ^ Main.cc:8:6: error: 't' was not declared in this scope t[shu]++; ^ Main.cc:12:26: error: 't' was not declared in this scope for(int ci = 0;ci < t[i]; ci++) ^