| Problem | mrt |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-02-21 12:58:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int main()’:
mrt.cpp:38:28: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::pair<long long int, long long int> > >, std::vector<std::pair<long long int, long long int> > >::value_type’ {aka ‘std::vector<std::pair<long long int, long long int> >’} and ‘std::pair<long long int, long long int>’)
38 | graph[a] = make_pair(c, b);
| ^
In file included from /usr/include/c++/9/vector:72,
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 mrt.cpp:1:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc&