| Problem | archaeologist |
|---|---|
| User | Fosksjdkskzjskskzk |
| Submission Time | 2025-03-05 12:23:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:36:39: error: no match for ‘operator=’ (operand types are ‘std::vector<int>’ and ‘std::pair<int, std::vector<int> >’)
36 | x,paths=take_path(zeroPath);
| ^
In file included from /usr/include/c++/9/vector:72,
from archaeologist.cpp:2:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]’
198 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/vector.tcc:199:42: note: no known conversion for argument 1 from ‘std::pair<int, std::vector<int> >’ to ‘const std::vector<int>&’
199 | operator=(const ve