Main.cc: In function 'int main()': Main.cc:15:5: error: 'x' was not declared in this scope x = a[k][n]; ^ Main.cc:18:5: error: 'y' was not declared in this scope y = a[k][n]; ^