Problem | lunchbox |
---|---|
User | PyAce |
Submission Time | 2025-06-21 18:31:51 |
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:48: error: template argument 1 is invalid
12 | priority_queue <int vector <int,greater <int>>mq;
| ^~
lunchbox.cpp:12:48: error: template argument 2 is invalid
lunchbox.cpp:12:48: error: template argument 3 is invalid
lunchbox.cpp:14:15: error: expected ‘;’ before ‘:’ token
14 | cin >> mvecit:
| ^
| ;
lunchbox.cpp:15:15: error: ‘i’ was not declared in this scope
15 | for (int i=0;i<mvecit; i++) {
|