strange_device.cpp: In function 'int main()':
strange_device.cpp:49:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for (i = 0; i < v.size(); i ++) {
| ~~^~~~~~~~~~
strange_device.cpp:10:5: warning: unused variable 't' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^
strange_device.cpp:10:18: warning: unused variable 'l' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^
strange_device.cpp:10:24: warning: unused variable 'lo' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^~
strange_device.cpp:10:28: warning: unused variable 'hi' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^~
strange_device.cpp:10:32: warning: unused variable 'mid' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^~~
strange_device.cpp:10:37: warning: unused variable 'sum' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^~~
strange_device.cpp:10:57: warning: unused variable 'j' [-Wunused-variable]
10 | ll t, n, m, ans,l, s, lo, hi, mid, sum, x, y, r, p, i, j;
| ^