Problem | flip |
---|---|
User | jatrophalouvre |
Submission Time | 2024-07-01 17:00:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flip.cpp: In function ‘void dijkstra()’:
flip.cpp:32:19: error: ‘std::tuple<long long int, long long int, long long int> <structured bindings>’ has incomplete type
32 | for (auto [v, w, flip]:s[u])
| ^~~~~~~~~~~~
flip.cpp:37:49: error: no matching function for call to ‘std::priority_queue<node>::push(<brace-enclosed initializer list>)’
37 | q.push({d[v][f+flip], f+flip, v});
| ^
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 = node; _Sequence = std::vector<node, std::allocator<node> >; _Compare = std::less<node>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = node]’
627 | push(const value_type&