gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:13:20: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
13 | while (v.size()<N)
| ~~~~~~~~^~
gap.cpp:21:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int i=1; i<v.size(); i++) mx=max(mx, v[i]-v[i-1]);
| ~^~~~~~~~~
gap.cpp:11:8: warning: unused variable 'arr' [-Wunused-variable]
11 | ll arr[N], x=0, y=1e18, a, b, idx=0, mx=0;
| ^~~
gap.cpp:11:35: warning: unused variable 'idx' [-Wunused-variable]
11 | ll arr[N], x=0, y=1e18, a, b, idx=0, mx=0;
| ^~~