answer.code: In function ‘int Bob(int, int)’:
answer.code:75:34: error: no match for ‘operator=’ (operand types are ‘std::vector<std::pair<bool, int> >’ and ‘std::vector<std::pair<int, bool> >’)
75 | E[x] = discover(x);
| ^
In file included from /usr/include/c++/13/vector:72,
from /usr/include/c++/13/queue:63,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:157,
from answer.code:1:
/usr/include/c++/13/bits/vector.tcc:210:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
210 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/13/bits/vector.tcc:211:42: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘const std::vector<std::pair<bool, int> >&’
211 | operator=(const vector<_Tp, _Alloc>& __x)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/13/vector:66:
/usr/include/c++/13/bits/stl_vector.h:763:7: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
763 | operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
| ^~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:763:26: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘std::vector<std::pair<bool, int> >&&’
763 | operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
| ~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:785:7: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
785 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:785:46: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘std::initializer_list<std::pair<bool, int> >’
785 | operator=(initializer_list<value_type> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
answer.code:85:47: error: no match for ‘operator=’ (operand types are ‘std::vector<std::pair<bool, int> >’ and ‘std::vector<std::pair<int, bool> >’)
85 | if (!vis[x]) E[x] = discover(x), vis[x] = 1;
| ^
/usr/include/c++/13/bits/vector.tcc:210:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
210 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/13/bits/vector.tcc:211:42: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘const std::vector<std::pair<bool, int> >&’
211 | operator=(const vector<_Tp, _Alloc>& __x)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:763:7: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
763 | operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
| ^~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:763:26: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘std::vector<std::pair<bool, int> >&&’
763 | operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
| ~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:785:7: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std::pair<bool, int> >]’
785 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:785:46: note: no known conversion for argument 1 from ‘std::vector<std::pair<int, bool> >’ to ‘std::initializer_list<std::pair<bool, int> >’
785 | operator=(initializer_list<value_type> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
answer.code:88:55: error: no match for ‘operator=’ (operand types are ‘std::vector<std::pair<bool, int> >’ and ‘std::vector<std::pair<int, bool> >’)
88 | if (!vis[x]) E[x] = discover(x), vis[x] = 1;
| ^
/usr/include/c++/13/bits/vector.tcc:210:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<bool, int>; _Alloc = std::allocator<std...