cake3.cpp: In function 'void insert(std::multiset<long long int>&, i64&, int, i64)':
cake3.cpp:29:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.size() < count)
~~~~~~~~~^~~~~~~
cake3.cpp: In function 'int main()':
cake3.cpp:70:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int sc = 0; sc < cvec.size(); sc++)
~~~^~~~~~~~~~~~~
cake3.cpp:75:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cvec[sc].yy.size() >= m)
~~~~~~~~~~~~~~~~~~~^~~~
cake3.cpp:84:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int bc = sc; bc < cvec.size(); bc++)
~~~^~~~~~~~~~~~~
cake3.cpp:86:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cvec[bc].yy.size() - 1; i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~
cake3.cpp:48:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~~
cake3.cpp:56:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &cakes[i].xx, &cakes[i].yy);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~