cake3.cpp: In function 'int main()':
cake3.cpp:21:17: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | if (st.size() == m) {
| ~~~~~~~~~~^~~~
cake3.cpp:26:17: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | if (st.size() < m) lmao.insert(a[i].first), st.insert({a[i].second, i}), sum += a[i].second;
| ~~~~~~~~~~^~~
cake3.cpp:27:22: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | else if (st.size() == m) {
| ~~~~~~~~~~^~~~