Problem | general |
---|---|
User | dooweidde |
Submission Time | 2025-08-06 16:10:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
general.cpp: In function ‘void merge(long long int, long long int)’:
general.cpp:30:23: error: no matching function for call to ‘find(long long int&)’
30 | int rep_x = find(x);
| ^
general.cpp:14:8: note: candidate: ‘int find(long long int, std::vector<std::pair<long long int, long long int> >)’
14 | signed find(int y, vector<pair<int,int>> vec){
| ^~~~
general.cpp:14:8: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
from /usr/include/c++/9/bits/basic_ios.h:37,
from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from general.cpp:1:
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std