Problem | wabot |
---|---|
User | justin271828 |
Submission Time | 2024-05-28 14:30:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wabot.cpp: In function ‘int main()’:
wabot.cpp:10:54: error: template argument 3 is invalid
10 | priority_queue<long long, vector<int>, greater<int> v;
| ^
wabot.cpp:11:46: error: ‘v’ was not declared in this scope
11 | for (int i = 0; i <= 1000000; i++) arr[i] = v;
| ^
wabot.cpp:16:10: error: ‘class std::vector<long long int>’ has no member named ‘push’
16 | arr[L].push(C);
| ^~~~
wabot.cpp:22:18: error: ‘class std::vector<long long int>’ has no member named ‘top’
22 | temp += arr[0].top();
| ^~~
wabot.cpp:23:10: error: ‘class std::vector<long long int>’ has no member named ‘pop’
23 | arr[0].pop();
| ^~~
wabot.cpp:24:18: error: ‘class std::vector<long long int>’ has no member named ‘top’
24 | temp += arr[0