Main.cc: In function 'int main()': Main.cc:10:9: error: 'm' was not declared in this scope cin >> m; ^ Main.cc:11:2: error: 'k' was not declared in this scope k = a[n]; ^ Main.cc:18:2: error: expected ';' before '}' token } ^