Problem motivation
User Reverberate
Submission Time 2023-08-14 16:13:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

motivation.cpp: In function ‘int main()’:
motivation.cpp:23:17: error: ‘class std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’ has no member named ‘front’
23 | sum+=pq.front();
| ^~~~~