eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:53:22: error: no match for 'operator=' (operand types are 'std::set<int>' and 'std::vector<int>')
53 | curQ = vector<int>();
| ^
In file included from /usr/include/c++/9/set:61,
from eastereggs.cpp:3:
/usr/include/c++/9/bits/stl_set.h:298:7: note: candidate: 'std::set<_Key, _Compare, _Alloc>& std::set<_Key, _Compare, _Alloc>::operator=(const std::set<_Key, _Compare, _Alloc>&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]'
298 | operator=(const set&) = default;
| ^~~~~~~~
/usr/include/c++/9/bits/stl_set.h:298:17: note: no known conversion for argument 1 from 'std::vector<int>' to 'const std::set<int>&'
298 | operator=(const set&) = default;
| ^~~~~~~~~~
/usr/include/c++/9/bits/stl_set.h:94:11: note: candidate: 'std::set<_Key, _Compare, _Alloc>& std::set<_Key, _Compare, _Alloc>::operator=(std::set<_Key, _Compare, _Alloc>&&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]'
94 | class set
| ^~~
/usr/include/c++/9/bits/stl_set.h:302:17: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::set<int>&&'
302 | operator=(set&&) = default;
| ^~~~~
/usr/include/c++/9/bits/stl_set.h:316:7: note: candidate: 'std::set<_Key, _Compare, _Alloc>& std::set<_Key, _Compare, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]'
316 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
/usr/include/c++/9/bits/stl_set.h:316:46: note: no known conversion for argument 1 from 'std::vector<int>' to 'std::initializer_list<int>'
316 | operator=(initializer_list<value_type> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~