Problem | candyshop |
---|---|
User | Kiameimon |
Submission Time | 2023-12-19 19:52:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candyshop.cpp: In function ‘void dfs(long long int, long long int)’:
candyshop.cpp:144:32: error: cannot convert ‘long long int’ to ‘BinomialHeap&’
144 | s[cur].merge(s[i].extract_max());
| ~~~~~~~~~~~~~~~~^~
| |
| long long int
candyshop.cpp:59:30: note: initializing argument 1 of ‘void BinomialHeap::merge(BinomialHeap&)’
59 | void merge(BinomialHeap& other_heap) {
| ~~~~~~~~~~~~~~^~~~~~~~~~