Problem cyberland_apio23
User shoryu386
Submission Time 2023-12-27 01:46:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cyberland_apio23.cpp: In function ‘double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
cyberland_apio23.cpp:43:38: error: wrong number of template arguments (3, should be at least 1)
43 | queue<pfk, vector<pfk>, greater<pfk>> 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 cyberland_apio23.cpp:3:
/usr/include/c++/9/bits/stl_queue.h:96:11: note: provided for ‘template<class _Tp, class _Sequence> class std::queue’
96 | class queue
| ^~~~~
cyberland_apio23.cpp:45:40: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘int’
45 | if (dist[x][newk] < LLONG_MAX/2) pq.push({dist[x][newk], x});
| ^~~~
cyber