zalmoxis.cpp: In function 'int main()':
zalmoxis.cpp:44:24: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
44 | while (inserts.size() < k) {
| ~~~~~~~~~~~~~~~^~~
zalmoxis.cpp:55:12: 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]
55 | while (j < inserts.size() && i == inserts[j].first) {
| ~~^~~~~~~~~~~~~~~~
zalmoxis.cpp:61:11: 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]
61 | while (j < inserts.size() && n == inserts[j].first) {
| ~~^~~~~~~~~~~~~~~~
zalmoxis.cpp:41:6: warning: unused variable 'size' [-Wunused-variable]
41 | int size = inserts.size();
| ^~~~