Problem | flipcards |
---|---|
User | YEethui |
Submission Time | 2023-12-09 00:53:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flipcards.cpp: In function ‘long long int solve3(long long int, long long int, const std::deque<std::pair<long long int, long long int> >&)’:
flipcards.cpp:65:34: error: request for member ‘index’ in ‘* flipc.std::multiset<long long int, std::less<void> >::begin().std::_Rb_tree_const_iterator<long long int>::operator->()’, which is of non-class type ‘const long long int’
65 | auto bi = flipc.begin()->index;
| ^~~~~
flipcards.cpp:66:36: error: request for member ‘index’ in ‘*(& flipc.std::multiset<long long int, std::less<void> >::end().std::_Rb_tree_const_iterator<long long int>::operator--())->std::_Rb_tree_const_iterator<long long int>::operator->()’, which is of non-class type ‘const long long int’
66 | auto ei = (--flipc.end())->index;
| ^~~~~
flipcards.cpp:68:30: error: no matching function f