Problem colourblind
User PlayVoltz
Submission Time 2024-03-06 07:40:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colourblind.cpp: In function ‘void init(long long int, long long int, long long int, long long int, std::vector<std::vector<long long int> >, std::vector<std::vector<long long int> >, std::vector<std::vector<long long int> >)’:
colourblind.cpp:50:62: error: no matching function for call to ‘std::vector<std::pair<long long int, long long int> >::push_back(long long int&, long long int&)’
50 | for (auto c:edges)merge(c.se.fi, c.se.se), temp.pb(c.fi, res);
| ^
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 colourblind.cpp:1:
/usr/include/c++/9/bits/stl_vector.h: