Problem | lengthsort |
---|---|
User | JoshuaPyh |
Submission Time | 2023-08-04 17:14:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘int main()’:
lengthsort.cpp:28:27: error: ‘class std::unordered_map<int, std::vector<std::__cxx11::basic_string<char> > >’ has no member named ‘rbegin’; did you mean ‘begin’?
28 | for (auto it = bucket.rbegin(); it != bucket.rend(); ++it) {
| ^~~~~~
| begin
lengthsort.cpp:28:50: error: ‘class std::unordered_map<int, std::vector<std::__cxx11::basic_string<char> > >’ has no member named ‘rend’; did you mean ‘end’?
28 | for (auto it = bucket.rbegin(); it != bucket.rend(); ++it) {
| ^~~~
| end