Main.cc: In function 'int main()': Main.cc:15:15: error: expected ';' before '_max' _max=max(_max,a[i][j]) ^ Main.cc:13:30: warning: unused variable '_max' [-Wunused-variable] int _min=a[0][0],_max=a[0][0]; ^ Main.cc:20:11: error: '_min' was not declared in this scope cout<_min<<" "<<_max; ^ Main.cc:20:22: error: '_max' was not declared in this scope cout<<_min<<" "<<_max; ^