| Problem | carrots |
|---|---|
| User | MasterCoder8421 |
| Submission Time | 2025-12-05 13:52:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
carrots.cpp: In function ‘int main()’:
carrots.cpp:13:5: error: ‘priority_queue’ was not declared in this scope
13 | priority_queue<ll, vector<ll>, greater<ll>> arr;
| ^~~~~~~~~~~~~~
carrots.cpp:5:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
4 | #include <algorithm>
+++ |+#include <queue>
5 | using namespace std;
carrots.cpp:13:22: error: expected primary-expression before ‘,’ token
13 | priority_queue<ll, vector<ll>, greater<ll>> arr;
| ^
carrots.cpp:13:34: error: expected primary-expression before ‘,’ token
13 | priority_queue<ll, vector<ll>, greater<ll>> arr;
| ^
carrots.cpp:13:46: error: expected primary-expression before ‘>’ token
13 | priority_queue<ll, vector<ll>, greater<ll&g