Problem cyberland_apio23
User jatrophalouvre
Submission Time 2024-07-25 21:53:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cyberland_apio23.cpp: In function ‘ld dijkstra()’:
cyberland_apio23.cpp:34:29: error: too many initializers for ‘TLII’ {aka ‘std::tuple<long double, int, int>’}
34 | q.push((TLII){0.0, te, k});
| ^
cyberland_apio23.cpp:38:14: error: ‘std::tuple<long double, int, int> <structured bindings>’ has incomplete type
38 | auto [ioi, u, cnt]=q.top(); q.pop();
| ^~~~~~~~~~~~~
cyberland_apio23.cpp:48:51: error: no matching function for call to ‘std::priority_queue<std::tuple<long double, int, int>, std::vector<std::tuple<long double, int, int> >, std::greater<std::tuple<long double, int, int> > >::push(<brace-enclosed initializer list>)’
48 | q.push({d[v][cnt-1], v, cnt-1});
| ^
In file included from /usr/include/c++/9/queue:64,
from cyberla