supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:140:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | for(int j = 0;j<wow[i].size();j++){
| ~^~~~~~~~~~~~~~
supertrees.cpp:142:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
142 | for(int k =j+1;k<wow[i].size();k++){
| ~^~~~~~~~~~~~~~
supertrees.cpp:144:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | for(int l =0;l<wow[i].size();l++){
| ~^~~~~~~~~~~~~~
supertrees.cpp:151:49: error: no match for 'operator==' (operand types are 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} and 'int')
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ~~~~~~~~~~~~~~~~ ^~ ~
| | |
| | int
| std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}
In file included from /usr/include/c++/9/utility:70,
from /usr/include/c++/9/algorithm:60,
from supertrees.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:448:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
448 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/9/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::pair<_T1, _T2>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/algorithm:61,
from supertrees.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h:325:5: note: candidate: 'template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
325 | operator==(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_iterator.h:325:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::reverse_iterator<_Iterator>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/algorithm:61,
from supertrees.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h:363:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
363 | operator==(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_iterator.h:363:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::reverse_iterator<_Iterator>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/algorithm:61,
from supertrees.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h:1139:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
1139 | operator==(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_iterator.h:1139:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::move_iterator<_IteratorL>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/algorithm:61,
from supertrees.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h:1145:5: note: candidate: 'template<class _Iterator> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
1145 | operator==(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_iterator.h:1145:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::move_iterator<_IteratorL>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/char_traits.h:40,
from /usr/include/c++/9/string:40,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/postypes.h:222:5: note: candidate: 'template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)'
222 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/9/bits/postypes.h:222:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::fpos<_StateT>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/string:41,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/allocator.h:168:5: note: candidate: 'template<class _T1, class _T2> bool std::operator==(const std::allocator<_Tp>&, const std::allocator<_Tp>&)'
168 | operator==(const allocator<_T1>&, const allocator<_T2>&)
| ^~~~~~~~
/usr/include/c++/9/bits/allocator.h:168:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::allocator<_Tp>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/basic_string.h:6141:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
6141 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/9/bits/basic_string.h:6141:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/basic_string.h:6149:5: note: candidate: 'template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)'
6149 | operator==(const basic_string<_CharT>& __lhs,
| ^~~~~~~~
/usr/include/c++/9/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::__cxx11::basic_string<_CharT>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/basic_string.h:6163:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
6163 | operator==(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/9/bits/basic_string.h:6163:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: mismatched types 'const _CharT*' and 'std::_Rb_tree_const_iterator<int>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bitset:47,
from supertrees.cpp:2:
/usr/include/c++/9/bits/basic_string.h:6175:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
6175 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/9/bits/basic_string.h:6175:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/bits/ios_base.h:46,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from supertrees.cpp:5:
/usr/include/c++/9/system_error:292:3: note: candidate: 'bool std::operator==(const std::error_code&, const std::error_code&)'
292 | operator==(const error_code& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/9/system_error:292:32: note: no known conversion for argument 1 from 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} to 'const std::error_code&'
292 | operator==(const error_code& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/9/system_error:297:3: note: candidate: 'bool std::operator==(const std::error_code&, const std::error_condition&)'
297 | operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/9/system_error:297:32: note: no known conversion for argument 1 from 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} to 'const std::error_code&'
297 | operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/9/system_error:304:3: note: candidate: 'bool std::operator==(const std::error_condition&, const std::error_code&)'
304 | operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/9/system_error:304:37: note: no known conversion for argument 1 from 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} to 'const std::error_condition&'
304 | operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/9/system_error:311:3: note: candidate: 'bool std::operator==(const std::error_condition&, const std::error_condition&)'
311 | operator==(const error_condition& __lhs,
| ^~~~~~~~
/usr/include/c++/9/system_error:311:37: note: no known conversion for argument 1 from 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} to 'const std::error_condition&'
311 | operator==(const error_condition& __lhs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
from /usr/include/c++/9/bits/basic_ios.h:37,
from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from supertrees.cpp:5:
/usr/include/c++/9/bits/streambuf_iterator.h:208:5: note: candidate: 'template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)'
208 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
| ^~~~~~~~
/usr/include/c++/9/bits/streambuf_iterator.h:208:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from supertrees.cpp:5:
/usr/include/c++/9/complex:459:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)'
459 | operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:459:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::complex<_Tp>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from supertrees.cpp:5:
/usr/include/c++/9/complex:464:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const std::complex<_Tp>&, const _Tp&)'
464 | operator==(const complex<_Tp>& __x, const _Tp& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:464:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::complex<_Tp>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from supertrees.cpp:5:
/usr/include/c++/9/complex:469:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const _Tp&, const std::complex<_Tp>&)'
469 | operator==(const _Tp& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:469:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: mismatched types 'const std::complex<_Tp>' and 'int'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/deque:67,
from supertrees.cpp:10:
/usr/include/c++/9/bits/stl_deque.h:286:5: note: candidate: 'template<class _Tp, class _Ref, class _Ptr> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)'
286 | operator==(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:286:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/deque:67,
from supertrees.cpp:10:
/usr/include/c++/9/bits/stl_deque.h:293:5: note: candidate: 'template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)'
293 | operator==(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:293:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/deque:67,
from supertrees.cpp:10:
/usr/include/c++/9/bits/stl_deque.h:2312:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)'
2312 | operator==(const deque<_Tp, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:2312:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::deque<_Tp, _Alloc>'
151 | if(contains.size() == 1 && *(contains.begin() == 2)){
| ^
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from supertrees.cpp:11:
/usr/include/c++/9/array:252:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
252 | operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/usr/include/c++/9/array:252:5: note: template argument deduction/substitution failed:
supertrees.cpp:151:52: note: 'std::set<int>::iterator' {aka 'std::_Rb_tree_const_iterator<int>'} is not derived from 'const std::array<_Tp, _Nm>'
151 | if(co