gap.cpp:9:27: warning: overflow in conversion from 'double' to 'll' {aka 'long long int'} changes value from '1.0e+19' to '9223372036854775807' [-Woverflow]
9 | ll ans,mn,mx,n,l=-1,r=1e19+1;
| ~~~~^~
gap.cpp: In function 'll findGap(int, int)':
gap.cpp:14:26: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
14 | while(x.size()+y.size()<n){
| ~~~~~~~~~~~~~~~~~^~
gap.cpp:34:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=0;i+1<x.size();i++)ans=max(ans,x[i+1]-x[i]);
| ~~~^~~~~~~~~