seesaw.cpp: In function 'void solve()':
seesaw.cpp:5:33: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<double, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define forn(i,n) for(int i=0; i<n; ++i)
......
34 | forn(i,v.size()) {
| ~~~~~~~~~~
seesaw.cpp:34:2: note: in expansion of macro 'forn'
34 | forn(i,v.size()) {
| ^~~~
seesaw.cpp:35:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<double, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while (r<v.size() && tot<n) {
| ~^~~~~~~~~