Main.cc: In function ‘int main()’: Main.cc:16:22: error: ‘x’ was not declared in this scope for (int k=i;k>=0;x--){ ^ Main.cc:20:23: error: ‘y’ was not declared in this scope for (int b=j;b>=y;b--){ ^ Main.cc:25:16: error: ‘tmp’ cannot be used as a function tmp(i-x+1)*(j-y+1); ^ Main.cc:25:21: error: ‘y’ was not declared in this scope tmp(i-x+1)*(j-y+1); ^ Main.cc:26:24: error: overloaded function with no contextual type information if(tmp>maxn) max=tmp; ^~~