Problem | flip |
---|---|
User | jatrophalouvre |
Submission Time | 2024-07-01 16:57:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flip.cpp: In function ‘void dijkstra()’:
flip.cpp:19:21: error: no matching function for call to ‘std::priority_queue<std::tuple<long long int, long long int, long long int>, std::vector<std::tuple<long long int, long long int, long long int> >, std::greater<std::tuple<long long int, long long int, long long int> > >::push(<brace-enclosed initializer list>)’
19 | q.push({0, 0, 0});
| ^
In file included from /usr/include/c++/9/queue:64,
from flip.cpp:2:
/usr/include/c++/9/bits/stl_queue.h:627:7: note: candidate: ‘void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::tuple<long long int, long long int, long long int>; _Sequence = std::vector<std::tuple<long long int, long long int, long long int> >; _Compare = std::greater<std::tuple<long long int, long long int, long long int> >; std::priority_queue<_T