Problem buyingcandy
User Henries
Submission Time 2024-11-14 18:05:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buyingcandy.cpp:4:191: error: template argument 2 is invalid
4 | void solve(priority_queue<long long,vector<long long> , greater<long long>> pq,priority_queue<pair<long long,long long>,vector<pair<long long,long long>, greater<pair<long long,long long>>> vouchers){
| ^~~~~~~~
buyingcandy.cpp:4:191: error: template argument 3 is invalid
buyingcandy.cpp:4:191: error: template argument 2 is invalid
buyingcandy.cpp:4:191: error: template argument 3 is invalid
buyingcandy.cpp:4:191: error: template argument 2 is invalid
buyingcandy.cpp:4:191: error: template argument 3 is invalid
buyingcandy.cpp:4:191: error: template argument 2 is invalid
buyingcandy.cpp:4:191: error: template argument 3 is invalid
buyingcandy.cpp