sure.cpp: In function 'int main()':
sure.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=1;i<v1.size();i++) v1[i]+=v1[i-1];
| ~^~~~~~~~~~
sure.cpp:30:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i=1;i<v2.size();i++) v2[i]+=v2[i-1];
| ~^~~~~~~~~~
sure.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<v1.size();i++)
| ~^~~~~~~~~~
sure.cpp:35:16: warning: unused variable 'sum' [-Wunused-variable]
35 | double sum=-1;
| ^~~
sure.cpp:44:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i=0;i<v2.size();i++)
| ~^~~~~~~~~~
sure.cpp:52:66: warning: value computed is not used [-Wunused-value]
52 | if(v2[i]>=lol && v1[m]>=lol) l=m+1,ans=max(ans,(v2[i]-lol,v1[m]-lol));
sure.cpp:47:16: warning: unused variable 'sum' [-Wunused-variable]
47 | double sum=-1;
| ^~~