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