Problem swords
User pearl333
Submission Time 2023-12-25 01:40:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:22:5: error: expected ‘,’ or ‘;’ before ‘for’
22 | for (auto it =myMap.rbegin(); it != myMap.rend(); ++it) {
| ^~~
swords.cpp:22:35: error: ‘it’ was not declared in this scope; did you mean ‘int’?
22 | for (auto it =myMap.rbegin(); it != myMap.rend(); ++it) {
| ^~
| int