Problem topical
User bachnguyen123
Submission Time 2026-03-05 16:36:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:45:2: error: ‘priority_queue’ was not declared in this scope
45 | priority_queue<pair<long long,long long>, vector<pair<long long,long long>>, greater<pair<long long,long long>>> pq;
| ^~~~~~~~~~~~~~
topical.cpp:5:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
4 | #include <algorithm>
+++ |+#include <queue>
5 | #define int long long
topical.cpp:45:42: error: expected primary-expression before ‘,’ token
45 | priority_queue<pair<long long,long long>, vector<pair<long long,long long>>, greater<pair<long long,long long>>> pq;
| ^
topical.cpp:45:77: error: expected primary-expression before ‘,’ token
45 | priority_queue<pair<long long,long long>, vector<pair<long long,