Problem | makingparallelograms |
---|---|
User | Kannan |
Submission Time | 2023-12-30 15:32:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
makingparallelograms.cpp: In function ‘int main()’:
makingparallelograms.cpp:33:31: error: no match for ‘operator=’ (operand types are ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} and ‘std::unordered_set<long long int>::iterator’ {aka ‘std::__detail::_Node_iterator<long long int, true, false>’})
33 | for(it = repetitions_n.begin(); it != repetitions_n.end(); it++) {
| ^
In file included from /usr/include/c++/9/map:60,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from makingparallelograms.cpp:1:
/usr/include/c++/9/bits/stl_tree.h:326:12: note: candidate: ‘constexpr std::_Rb_tree_const_iterator<int>& std::_Rb_tree_const_iterator<int>::operator=(const std::_Rb_tree_const_iterator<int>&)’
326 | struct _Rb_tree_const_iterator
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/stl_tree.h:32