gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:6:3: error: 'll' was not declared in this scope
6 | ll mn, mx;
| ^~
gap.cpp:8:12: error: 'mn' was not declared in this scope; did you mean 'n'?
8 | MinMax(mn + 1, mn + 1, mn, mx);
| ^~
| n
gap.cpp:8:32: error: 'mx' was not declared in this scope
8 | MinMax(mn + 1, mn + 1, mn, mx);
| ^~
gap.cpp:9:12: error: 'ans' was not declared in this scope; did you mean 'abs'?
9 | if (i) ans = max(ans, mx - last);
| ^~~
| abs
gap.cpp:9:32: error: 'last' was not declared in this scope
9 | if (i) ans = max(ans, mx - last);
| ^~~~
gap.cpp:10:5: error: 'last' was not declared in this scope
10 | last = mn;
| ^~~~
gap.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
12 | }
| ^