gap.cpp: In function 'll subtask1(int)':
gap.cpp:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 1; i < v.size(); i ++)
| ~~^~~~~~~~~~
gap.cpp:18:13: warning: 'mn' may be used uninitialized in this function [-Wmaybe-uninitialized]
18 | MinMax(s, e, mn, mx);
| ~~~~~~^~~~~~~~~~~~~~
gap.cpp:18:13: warning: 'mx' may be used uninitialized in this function [-Wmaybe-uninitialized]