road_construction.cpp: In function 'void solve()':
road_construction.cpp:45:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(i = 0; i < v1.size(); i++){
| ~~^~~~~~~~~~~
road_construction.cpp:58:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(i = 0; i < v2.size(); i++){
| ~~^~~~~~~~~~~
road_construction.cpp:109:26: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
109 | if(st.size() > x)
| ~~~~~~~~~~^~~
road_construction.cpp:112:66: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
112 | if(st1.size() && it->fi < *(--st.end()) || st.size() < x){
| ~~~~~~~~~~^~~
road_construction.cpp:112:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
112 | if(st1.size() && it->fi < *(--st.end()) || st.size() < x){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
road_construction.cpp:113:30: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
113 | if(st.size() >= x){
| ~~~~~~~~~~^~~~
road_construction.cpp:32:8: warning: unused variable 'q' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:20: warning: unused variable 'm' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:28: warning: unused variable 'z' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:32: warning: unused variable 's' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:40: warning: unused variable 'f' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:43: warning: unused variable 'l' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:47: warning: unused variable 'r' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:59: warning: unused variable 'y' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
road_construction.cpp:32:63: warning: unused variable 'mn' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
road_construction.cpp:32:76: warning: unused variable 'mx' [-Wunused-variable]
32 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~