Problem | archaeologist |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-28 14:36:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(long long int, long long int, long long int, std::vector<long long int>, long long int, std::vector<long long int>)’:
archaeologist.cpp:33:80: error: no match for ‘operator=’ (operand types are ‘std::tuple<long long int&, std::vector<long long int, std::allocator<long long int> >&>’ and ‘std::pair<int, std::vector<int> >’)
33 | tie(c, paths)=take_path(min_element(paths.begin(), paths.end())-paths.begin());
| ^
In file included from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from archaeologist.cpp:2:
/usr/include/c++/9/tuple:1205:7: note: candidate: ‘std::tuple<_T1, _T2&