robots.cpp: In function 'int putaway(int, int, int, int*, int*, int*, int*)':
robots.cpp:44:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | while(R < v.size() && v[R].fi < X[i])
| ~~^~~~~~~~~~
robots.cpp:51:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(i = R; i < v.size(); i++)
| ~~^~~~~~~~~~
robots.cpp:24:12: warning: unused variable 'j' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:23: warning: unused variable 's' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:31: warning: unused variable 'f' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:35: warning: unused variable 'x' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:43: warning: unused variable 'k' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:47: warning: unused variable 'n' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:24:54: warning: unused variable 'ans' [-Wunused-variable]
24 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^~~