Problem candyshop
User haydendoo
Submission Time 2023-02-17 12:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candyshop.cpp: In function ‘void solve()’:
candyshop.cpp:28:51: error: ‘class std::priority_queue<long long int>’ has no member named ‘clear’
28 | for(int i=0; i<mxN; ++i) adj[i].clear(), s[i].clear(), child[i] = 0;
| ^~~~~