/in/foo.cc: In function 'int main()':
/in/foo.cc:7:19: error: 'INT_MIN' was not declared in this scope
    7 |         int a,tmp=INT_MIN,cnt=0;
      |                   ^~~~~~~
/in/foo.cc:2:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
    1 | #include<iostream>
  +++ |+#include <climits>
    2 | using namespace std;
/in/foo.cc:16:25: error: 'cnt' was not declared in this scope; did you mean 'int'?
   16 |                         cnt++;
      |                         ^~~
      |                         int
/in/foo.cc:19:15: error: 'cnt' was not declared in this scope; did you mean 'int'?
   19 |         cout<<cnt<<endl;
      |               ^~~
      |               int