Mã chấm Tài khoản Bài tập Ngôn ngữ lập trình Trạng thái Thời gian Bộ nhớ Kích thước Thời gian nộp
600222 Nguyễn Tri Bão Thắng SỐ PHÉP BIẾN ĐỔI DÃY C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 2065 2024-11-21 15:56:25

Lỗi biên dịch:

Main.cc: In function ‘void solve()’:
Main.cc:53:16: error: no match for ‘operator==’ (operand types are ‘std::set >’ and ‘int’)
   53 |         if(cur == 3)
      |            ~~~ ^~ ~
      |            |      |
      |            |      int
      |            std::set >
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1059:5: note: candidate: ‘template bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)’
 1059 |     operator==(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1059:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1155:5: note: candidate: ‘template bool std::__cxx11::operator==(std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const std::__cxx11::sub_match<_BiIter>&)’
 1155 |     operator==(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1155:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1230:5: note: candidate: ‘template bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)’
 1230 |     operator==(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1230:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1322:5: note: candidate: ‘template bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type*, const std::__cxx11::sub_match<_BiIter>&)’
 1322 |     operator==(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1322:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘int’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1397:5: note: candidate: ‘template bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)’
 1397 |     operator==(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1397:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1490:5: note: candidate: ‘template bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type&, const std::__cxx11::sub_match<_BiIter>&)’
 1490 |     operator==(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1490:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const std::__cxx11::sub_match<_BiIter>’ and ‘int’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:1569:5: note: candidate: ‘template bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)’
 1569 |     operator==(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:1569:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/regex:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110,
                 from Main.cc:1:
/usr/include/c++/11/bits/regex.h:2125:5: note: candidate: ‘template bool std::__cxx11::operator==(const std::__cxx11::match_results<_BiIter, _Alloc>&, const std::__cxx11::match_results<_BiIter, _Alloc>&)’
 2125 |     operator==(const match_results<_Bi_iter, _Alloc>& __m1,
      |     ^~~~~~~~
/usr/include/c++/11/bits/regex.h:2125:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::match_results<_BiIter, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/iosfwd:40,
                 from /usr/include/c++/11/ios:38,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/postypes.h:222:5: note: candidate: ‘template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
  222 |     operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
      |     ^~~~~~~~
/usr/include/c++/11/bits/postypes.h:222:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::fpos<_StateT>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/stl_algobase.h:64,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_pair.h:466:5: note: candidate: ‘template constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
  466 |     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_pair.h:466:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::pair<_T1, _T2>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_iterator.h:420:5: note: candidate: ‘template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)’
  420 |     operator==(const reverse_iterator<_Iterator>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:420:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::reverse_iterator<_Iterator>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_iterator.h:459:5: note: candidate: ‘template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)’
  459 |     operator==(const reverse_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:459:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::reverse_iterator<_Iterator>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_iterator.h:1585:5: note: candidate: ‘template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)’
 1585 |     operator==(const move_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:1585:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::move_iterator<_IteratorL>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_iterator.h:1648:5: note: candidate: ‘template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)’
 1648 |     operator==(const move_iterator<_Iterator>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:1648:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::move_iterator<_IteratorL>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/string:41,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/ios:42,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/allocator.h:218:5: note: candidate: ‘template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)’
  218 |     operator==(const allocator<_T1>&, const allocator<_T2>&)
      |     ^~~~~~~~
/usr/include/c++/11/bits/allocator.h:218:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::allocator<_CharT>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/ios:42,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/basic_string.h:6226:5: note: candidate: ‘template bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
 6226 |     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6226:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/ios:42,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/basic_string.h:6234:5: note: candidate: ‘template typename __gnu_cxx::__enable_if::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)’
 6234 |     operator==(const basic_string<_CharT>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6234:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/ios:42,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/basic_string.h:6248:5: note: candidate: ‘template bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)’
 6248 |     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6248:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/string:55,
                 from /usr/include/c++/11/bits/locale_classes.h:40,
                 from /usr/include/c++/11/bits/ios_base.h:41,
                 from /usr/include/c++/11/ios:42,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/basic_string.h:6289:5: note: candidate: ‘template bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
 6289 |     operator==(const _CharT* __lhs,
      |     ^~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6289:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const _CharT*’ and ‘std::set >’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/locale_facets.h:48,
                 from /usr/include/c++/11/bits/basic_ios.h:37,
                 from /usr/include/c++/11/ios:44,
                 from /usr/include/c++/11/istream:38,
                 from /usr/include/c++/11/sstream:38,
                 from /usr/include/c++/11/complex:45,
                 from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/bits/streambuf_iterator.h:226:5: note: candidate: ‘template bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)’
  226 |     operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
      |     ^~~~~~~~
/usr/include/c++/11/bits/streambuf_iterator.h:226:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/complex:464:5: note: candidate: ‘template constexpr bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)’
  464 |     operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/11/complex:464:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::complex<_Tp>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/complex:469:5: note: candidate: ‘template constexpr bool std::operator==(const std::complex<_Tp>&, const _Tp&)’
  469 |     operator==(const complex<_Tp>& __x, const _Tp& __y)
      |     ^~~~~~~~
/usr/include/c++/11/complex:469:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::complex<_Tp>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
                 from Main.cc:1:
/usr/include/c++/11/complex:475:5: note: candidate: ‘template constexpr bool std::operator==(const _Tp&, const std::complex<_Tp>&)’
  475 |     operator==(const _Tp& __x, const complex<_Tp>& __y)
      |     ^~~~~~~~
/usr/include/c++/11/complex:475:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const std::complex<_Tp>’ and ‘int’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/deque:67,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:68,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_deque.h:2247:5: note: candidate: ‘template bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)’
 2247 |     operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_deque.h:2247:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::deque<_Tp, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/tuple:39,
                 from /usr/include/c++/11/functional:54,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:71,
                 from Main.cc:1:
/usr/include/c++/11/array:276:5: note: candidate: ‘template bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)’
  276 |     operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
      |     ^~~~~~~~
/usr/include/c++/11/array:276:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::array<_Tp, _Nm>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/functional:54,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:71,
                 from Main.cc:1:
/usr/include/c++/11/tuple:1524:5: note: candidate: ‘template constexpr bool std::operator==(const std::tuple<_Tps ...>&, const std::tuple<_Types ...>&)’
 1524 |     operator==(const tuple<_TElements...>& __t,
      |     ^~~~~~~~
/usr/include/c++/11/tuple:1524:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::tuple<_Tps ...>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/functional:59,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:71,
                 from Main.cc:1:
/usr/include/c++/11/bits/std_function.h:718:5: note: candidate: ‘template bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)’
  718 |     operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
      |     ^~~~~~~~
/usr/include/c++/11/bits/std_function.h:718:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::function<_Res(_ArgTypes ...)>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/functional:59,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:71,
                 from Main.cc:1:
/usr/include/c++/11/bits/std_function.h:725:5: note: candidate: ‘template bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)’
  725 |     operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
      |     ^~~~~~~~
/usr/include/c++/11/bits/std_function.h:725:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const std::function<_Res(_ArgTypes ...)>’ and ‘int’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/locale_conv.h:41,
                 from /usr/include/c++/11/locale:43,
                 from /usr/include/c++/11/iomanip:43,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:72,
                 from Main.cc:1:
/usr/include/c++/11/bits/unique_ptr.h:753:5: note: candidate: ‘template bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)’
  753 |     operator==(const unique_ptr<_Tp, _Dp>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/unique_ptr.h:753:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/locale_conv.h:41,
                 from /usr/include/c++/11/locale:43,
                 from /usr/include/c++/11/iomanip:43,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:72,
                 from Main.cc:1:
/usr/include/c++/11/bits/unique_ptr.h:760:5: note: candidate: ‘template bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)’
  760 |     operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
      |     ^~~~~~~~
/usr/include/c++/11/bits/unique_ptr.h:760:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/bits/locale_conv.h:41,
                 from /usr/include/c++/11/locale:43,
                 from /usr/include/c++/11/iomanip:43,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:72,
                 from Main.cc:1:
/usr/include/c++/11/bits/unique_ptr.h:767:5: note: candidate: ‘template bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)’
  767 |     operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
      |     ^~~~~~~~
/usr/include/c++/11/bits/unique_ptr.h:767:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘int’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/list:63,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:79,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_list.h:2030:5: note: candidate: ‘template bool std::operator==(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)’
 2030 |     operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_list.h:2030:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/map:61,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:81,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_map.h:1463:5: note: candidate: ‘template bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)’
 1463 |     operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_map.h:1463:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
   53 |         if(cur == 3)
      |                   ^
In file included from /usr/include/c++/11/map:62,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:81,
                 from Main.cc:1:
/usr/include/c++/11/bits/stl_multimap.h:1128:5: note: candidate: ‘template bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)’
 1128 |     operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_multimap.h:1128:5: note:   template argument deduction/substitution failed:
Main.cc:53:19: note:   ‘std::set >’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’