| Problem | reachability2 |
|---|---|
| User | JoshJuice |
| Submission Time | 2026-02-20 16:31:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reachability2.cpp: In function ‘int main()’:
reachability2.cpp:101:56: error: no matching function for call to ‘std::vector<std::unordered_set<long long unsigned int> >::assign(std::vector<std::pair<int, int> >::size_type, std::unordered_set<long unsigned int>)’
101 | seen.assign(edges.size()+1, unordered_set<uint64_t>());
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
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 reachability2.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:746:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::assign(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::u