Problem | pairsums |
---|---|
User | Henries |
Submission Time | 2024-10-04 16:50:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pairsums.cpp: In function ‘int main()’:
pairsums.cpp:21:32: error: ‘class std::priority_queue<std::pair<long long int, long long int> >’ has no member named ‘begin’
21 | }while(next_permutation(pq.begin(),pq.end()); //
| ^~~~~
pairsums.cpp:21:43: error: ‘class std::priority_queue<std::pair<long long int, long long int> >’ has no member named ‘end’
21 | }while(next_permutation(pq.begin(),pq.end()); //
| ^~~
pairsums.cpp:21:49: error: expected ‘)’ before ‘;’ token
21 | }while(next_permutation(pq.begin(),pq.end()); //
| ~ ^
| )