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:50: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]
50 | for(i = R; i < v.size(); i++)
| ~~^~~~~~~~~~
robots.cpp:22:12: warning: unused variable 'j' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:23: warning: unused variable 's' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:31: warning: unused variable 'f' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:35: warning: unused variable 'x' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:43: warning: unused variable 'k' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:47: warning: unused variable 'n' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^
robots.cpp:22:54: warning: unused variable 'ans' [-Wunused-variable]
22 | ll i , j , l ,r , s = 0 , f , x , y , k , n, m , ans = 0;
| ^~~