Problem holiday
User eulerleonhardfan
Submission Time 2024-12-28 10:53:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

holiday.cpp: In function ‘long long int findMaxAttraction(int, int, int, int*)’:
holiday.cpp:77:7: error: ‘class std::priority_queue<int, std::vector<int>, std::greater<int> >’ has no member named ‘insert’
77 | pq.insert(a[i]);
| ^~~~~~