Problem | lunchbox |
---|---|
User | PyAce |
Submission Time | 2025-06-21 18:34:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:4:18: error: ‘long long’ specified with ‘std::vector<long long int, std::greater<long long int> >’
4 | #define int long long
| ^~~~
lunchbox.cpp:12:18: note: in expansion of macro ‘int’
12 | priority_queue <int vector <int,greater <int>> mq;
| ^~~
lunchbox.cpp:12:49: error: template argument 1 is invalid
12 | priority_queue <int vector <int,greater <int>> mq;
| ^~
lunchbox.cpp:12:49: error: template argument 2 is invalid
lunchbox.cpp:12:49: error: template argument 3 is invalid
lunchbox.cpp:18:3: error: ‘mq’ was not declared in this scope
18 | mq.push(cinp);
| ^~
lunchbox.cpp:22:7: error: ‘mq’ was not declared in this scope
22 | c = mq.top();
| ^~