Problem | ghostrule |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-12-30 18:16:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ghostrule.cpp: In function ‘int32_t main()’:
ghostrule.cpp:178:19: error: no matching function for call to ‘merge(long long int&, long long int&)’
178 | merge(it,cur);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from ghostrule.cpp:22:
/usr/include/c++/9/bits/stl_algo.h:4955:5: note: candidate: ‘template<class _IIter1, class _IIter2, class _OIter> _OIter std::merge(_IIter1, _IIter1, _IIter2, _IIter2, _OIter)’
4955 | merge(_InputIterator1 __first1, _InputIterator1 __last1,
| ^~~~~
/usr/include/c++/9/bits/stl_algo.h:4955:5: note: template argument deduction/substitution failed:
ghostrule.cpp:178:19: note: candidate expects 5 arguments, 2 provided
178 | merge(it,cur);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr