Problem area_noi
User braven
Submission Time 2024-01-23 13:07:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:19:15: error: ‘class std::vector<int>’ has no member named ‘top’
19 | a = v.top();
| ^~~
area_noi.cpp:20:11: error: ‘class std::vector<int>’ has no member named ‘pop’
20 | v.pop();
| ^~~
area_noi.cpp:21:21: error: ‘class std::vector<int>’ has no member named ‘top’
21 | sum = a * v.top();
| ^~~
area_noi.cpp:22:12: error: ‘class std::priority_queue<int>’ has no member named ‘push_back’
22 | pq.push_back(sum);
| ^~~~~~~~~