Main.cc: In function ‘int main()’: Main.cc:5:16: error: ‘INT_MIN’ was not declared in this scope int n,maxn=INT_MIN,a; ^~~~~~~ Main.cc:5:16: note: suggested alternative: ‘INT8_MIN’ int n,maxn=INT_MIN,a; ^~~~~~~ INT8_MIN Main.cc:9:14: error: ‘a’ was not declared in this scope cin>>a; ^