Main.cpp: In function 'int main()':
Main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ura>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(j=0;j<vec.size();j++)
| ~^~~~~~~~~~~
Main.cpp:45:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ura>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(j=0;j<vec.size();j++)
| ~^~~~~~~~~~~
Main.cpp:47:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<ura>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(z=j;z<vec.size();z++)
| ~^~~~~~~~~~~
Main.cpp:21:15: warning: unused variable 'k' [-Wunused-variable]
21 | int n,i,j,k,l,r,z;
| ^
Main.cpp:56:20: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized]
56 | cout<<sol<<'\n';
| ^~~~