gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:10:5: error: '__int64' was not declared in this scope; did you mean '__int64_t'?
10 | __int64 ans=1;
| ^~~~~~~
| __int64_t
gap.cpp:14:19: error: 'ans' was not declared in this scope; did you mean 'abs'?
14 | if(rem==2)ans=max(ans,mx-mn);
| ^~~
| abs
gap.cpp:17:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
17 | ans=max(ans,mn-l);
| ^~~
| abs
gap.cpp:25:12: error: 'ans' was not declared in this scope; did you mean 'abs'?
25 | return ans;
| ^~~
| abs