/in/foo.cc:4:22: error: 'INT_MIN' was not declared in this scope
int tmp=0,n,sum=0,ma=INT_MIN,score1,score2,num;
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:18: error: 'score1' was not declared in this scope
cin >> name >> score1 >> score2 >> c1 >> c2 >> num;
^~~~~~
/in/foo.cc:12:28: error: 'score2' was not declared in this scope
cin >> name >> score1 >> score2 >> c1 >> c2 >> num;
^~~~~~
/in/foo.cc:12:50: error: 'num' was not declared in this scope
cin >> name >> score1 >> score2 >> c1 >> c2 >> num;
^~~