Problem | problematicjourney |
---|---|
User | maomao |
Submission Time | 2025-06-24 12:07:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
problematicjourney.cpp: In function ‘bool is_path_possible(int)’:
problematicjourney.cpp:15:16: error: structured binding refers to incomplete type ‘std::tuple<int, int, int>’
15 | for (auto &[u, v, w] : edges) {
| ^~~~~~~~~
problematicjourney.cpp: In function ‘int main()’:
problematicjourney.cpp:51:28: error: invalid use of incomplete type ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’}
51 | edges[i] = {a, b, w};
| ^
In file included from /usr/include/c++/9/bits/move.h:55,
from /usr/include/c++/9/bits/nested_exception.h:40,
from /usr/include/c++/9/exception:144,
from /usr/include/c++/9/ios:39,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/io