| Problem | crypto |
|---|---|
| User | ForsakenPBJ |
| Submission Time | 2025-02-09 14:39:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
crypto.cpp: In function ‘int main()’:
crypto.cpp:17:33: error: no matching function for call to ‘sort(<unresolved overloaded function type>, <unresolved overloaded function type>)’
17 | sort(sorted.rbegin, sorted.rend);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from crypto.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:4863:5: note: candidate: ‘template<class _RAIter> void std::sort(_RAIter, _RAIter)’
4863 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
| ^~~~
/usr/include/c++/9/bits/stl_algo.h:4863:5: note: template argument deduction/substitution failed:
crypto.cpp:17:33: note: couldn’t deduce template parameter ‘_RAIter’
17 | sort(sorted.rbegin, sorted.rend);
| ^
In file included from /usr/include/c+