In file included from /usr/include/c++/10/cassert:44,
from cake3.cpp:5:
cake3.cpp: In function 'int main()':
cake3.cpp:40:28: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | assert(vals.size() == M-2);
| ~~~~~~~~~~~~^~~~~~
cake3.cpp:48:28: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
48 | if(vals.size() > M-2)
| ~~~~~~~~~~~~^~~~~
In file included from /usr/include/c++/10/cassert:44,
from cake3.cpp:5:
cake3.cpp:53:32: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | assert(vals.size() == M-2);
| ~~~~~~~~~~~~^~~~~~