cake3.cpp: In member function 'void Set::add(int)':
cake3.cpp:16:22: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
16 | if(st.size() > sz)
| ~~~~~~~~~~^~~~
cake3.cpp: In member function 'long long int Set::get()':
cake3.cpp:20:22: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if(st.size() < sz) return 0;
| ~~~~~~~~~~^~~~
cake3.cpp: In function 'int main()':
cake3.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | int n, m; scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
cake3.cpp:29:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf("%d %d", &p.first, &p.second), p.second <<= 1;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~