Problem | airplane |
---|---|
User | Hengweezy |
Submission Time | 2024-03-03 00:32:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
airplane.cpp: In function ‘int d(std::vector<std::vector<std::pair<int, int> > >&, int)’:
airplane.cpp:8:101: error: wrong number of template arguments (3, should be at least 1)
8 | queue<pair<int, pair<int, int>>,vector<pair<int, pair<int, int>>>,greater<pair<int, pair<int, int>>>> pq;
| ^~
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from airplane.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:96:11: note: provided for ‘template<class _Tp, class _Sequence> class std::queue’
96 | class queue
| ^~~~~
airplane.cpp:9:5: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘int’
9 | pq.push({0,{0,0}});
| ^~~~
airplane.