| Problem | catlunch |
|---|---|
| User | MegaG |
| Submission Time | 2025-11-03 14:07:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:16:2: error: ‘priority_queue’ was not declared in this scope
16 | priority_queue<int> pq;
| ^~~~~~~~~~~~~~
catlunch.cpp:4:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
3 | #include <deque>
+++ |+#include <queue>
4 | #define int long long
catlunch.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
catlunch.cpp:16:17: note: in expansion of macro ‘int’
16 | priority_queue<int> pq;
| ^~~
catlunch.cpp:23:12: error: expected primary-expression before ‘>’ token
23 | if(fish => 0){
| ^
catlunch.cpp:27:4: error: ‘pq’ was not declared in this scope
27 | pq.push(fish);
| ^~
catlunch.cpp:28:18: error: expected primary-expression before ‘>’ toke