road_construction.cpp: In function 'void solve()':
road_construction.cpp:74: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]
74 | if(st.size() > x)
| ~~~~~~~~~~^~~
road_construction.cpp:77: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]
77 | if(st1.size() && it->fi < *(--st.end()) || st.size() < x){
| ~~~~~~~~~~^~~
road_construction.cpp:77:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
77 | if(st1.size() && it->fi < *(--st.end()) || st.size() < x){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
road_construction.cpp:78: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]
78 | 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;
| ^~