Problem | gotoschool |
---|---|
User | penguin1234 |
Submission Time | 2024-07-09 12:28:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:18:31: error: ‘class std::unordered_map<int, bool>’ has no member named ‘rbegin’; did you mean ‘begin’?
18 | for (auto it = in_classroom.rbegin(); it != in_classroom.rend(); ++it) {
| ^~~~~~
| begin
gotoschool.cpp:18:60: error: ‘class std::unordered_map<int, bool>’ has no member named ‘rend’; did you mean ‘end’?
18 | for (auto it = in_classroom.rbegin(); it != in_classroom.rend(); ++it) {
| ^~~~
| end