art.cpp: In function 'int main()':
art.cpp:19:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while (l < v.size()) {
| ~~^~~~~~~~~~
art.cpp:20:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if (i < v.size()) {
| ~~^~~~~~~~~~
art.cpp:30:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if ((l >= p) || (p < v.size() && suma - v[p][0] + v[l][0] > v[p][1])) {
| ~~^~~~~~~~~~
art.cpp:35:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if (p < v.size() - 1) {
| ~~^~~~~~~~~~~~~~