Problem | chunlian |
---|---|
User | YTj |
Submission Time | 2025-02-15 20:35:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chunlian.cpp: In function ‘int main()’:
chunlian.cpp:38:42: error: no match for ‘operator=’ (operand types are ‘std::_Rb_tree_const_iterator<std::pair<int, int> >’ and ‘std::pair<std::_Rb_tree_const_iterator<std::pair<int, int> >, bool>’)
38 | arr[head].second = picked.insert(tpair);
| ^
In file included from /usr/include/c++/9/map:60,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from chunlian.cpp:1:
/usr/include/c++/9/bits/stl_tree.h:326:12: note: candidate: ‘constexpr std::_Rb_tree_const_iterator<std::pair<int, int> >& std::_Rb_tree_const_iterator<std::pair<int, int> >::operator=(const std::_Rb_tree_const_iterator<std::pair<int, int> >&)’
326 | struct _Rb_tree_const_iterator
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/stl_tree.h:326:12: note: no known conversi