Problem | swords |
---|---|
User | nutzzzz |
Submission Time | 2025-01-21 20:48:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:44:9: error: ‘class std::reverse_iterator<std::_Rb_tree_iterator<std::pair<const int, int> > >’ has no member named ‘second’
44 | if (p.second > mx) {
| ^~~~~~
swords.cpp:45:20: error: ‘class std::reverse_iterator<std::_Rb_tree_iterator<std::pair<const int, int> > >’ has no member named ‘second’
45 | mx = p.second;
| ^~~~~~