Problem cake3
User CHF
Submission Time 2025-10-08 20:50:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cake3.cpp: In function ‘int main()’:
cake3.cpp:49:9: error: ‘multiset’ was not declared in this scope
49 | multiset<ll> top, rest;
| ^~~~~~~~
cake3.cpp:5:1: note: ‘std::multiset’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
4 | #include <queue>
+++ |+#include <set>
5 | using namespace std;
cake3.cpp:49:20: error: expected primary-expression before ‘>’ token
49 | multiset<ll> top, rest;
| ^
cake3.cpp:49:22: error: ‘top’ was not declared in this scope
49 | multiset<ll> top, rest;
| ^~~
cake3.cpp:49:27: error: ‘rest’ was not declared in this scope
49 | multiset<ll> top, rest;
| ^~~~