Compile Error

foo.cc: In function 'std::string cmp(std::string, std::string)':
foo.cc:6:37: error: could not convert 'true' from 'bool' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
    6 |         if(a.size()<b.size())return true;
      |                                     ^~~~
      |                                     |
      |                                     bool
foo.cc:7:37: error: could not convert 'false' from 'bool' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
    7 |         if(a.size()>b.size())return false;
      |                                     ^~~~~
      |                                     |
      |                                     bool
foo.cc:8:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |         for(int i=0;i<a.size();i++)
      |                     ~^~~~~~~~~
foo.cc:9:37: error: could not convert 'true' from 'bool' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
    9 |                 if(a[i]>b[i])return true;
      |                                     ^~~~
      |                                     |
      |                                     bool
foo.cc:10:42: error: could not convert 'false' from 'bool' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
   10 |                 else if(a[i]>b[i])return false;
      |                                          ^~~~~
      |                                          |
      |                                          bool
foo.cc:11:16: error: could not convert 'true' from 'bool' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
   11 |         return true;
      |                ^~~~
      |                |
      |                bool
foo.cc: In function 'int main()':
foo.cc:15:15: error: no match for 'operator>' (operand types are 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} and 'int')
   15 |         cin>>n>q;
      |         ~~~~~~^~
      |            |   |
      |            |   int
      |            std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
foo.cc:15:15: note: candidate: 'operator>(int, int)' (built-in)
   15 |         cin>>n>q;
      |         ~~~~~~^~
foo.cc:15:15: note:   no known conversion for argument 1 from 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} to 'int'
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/regex:66,
                 from stdc++.h:110:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
 1150 |     operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
 1210 |     operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
 1303 |     operator>(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
 1377 |     operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
 1471 |     operator>(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
 1547 |     operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
 1647 |     operator>(const sub_match<_Bi_iter>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/string:47,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/locale_classes.h:40,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/ios_base.h:41,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/ios:42,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/istream:38,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/sstream:38,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/complex:45,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/ccomplex:39,
                 from stdc++.h:54:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
  465 |     operator>(const reverse_iterator<_Iterator>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
  510 |     operator>(const reverse_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
 1721 |     operator>(const move_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
 1780 |     operator>(const move_iterator<_Iterator>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_algobase.h:64,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/string:50:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
  676 |     operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::pair<_T1, _T2>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/string:53:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
 3737 |     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
 3750 |     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
 3762 |     operator>(const _CharT* __lhs,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const _CharT*' and 'std::basic_istream<char>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/deque:64,
                 from stdc++.h:68:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
 2345 |     operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/functional:54,
                 from stdc++.h:71:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
 1557 |     operator>(const tuple<_TElements...>& __t,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::tuple<_Elements ...>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/list:63,
                 from stdc++.h:79:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
 2196 |     operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/map:61,
                 from stdc++.h:81:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
 1563 |     operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/map:62:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
 1184 |     operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/memory:75,
                 from stdc++.h:82:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
  929 |     operator>(const unique_ptr<_Tp, _Dp>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
  937 |     operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
  947 |     operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:53,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/memory:76:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
 1883 |     operator>(const __shared_ptr<_Tp1, _Lp>& __a,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
 1889 |     operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
 1894 |     operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
  653 |     operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::shared_ptr<_Tp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
  659 |     operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::shared_ptr<_Tp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
  665 |     operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::shared_ptr<_Tp>' and 'int'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/vector:64,
                 from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/queue:61,
                 from stdc++.h:86:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
 2087 |     operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/queue:64:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
  413 |     operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/set:61,
                 from stdc++.h:87:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
 1037 |     operator>(const set<_Key, _Compare, _Alloc>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/set:62:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
 1024 |     operator>(const multiset<_Key,_Compare,_Alloc>& __x,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/stack:61,
                 from stdc++.h:89:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
  389 |     operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:603,
                 from stdc++.h:95:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
  420 |     _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
  420 |     _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
  420 |     _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
  420 |     _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
  420 |     _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
 1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::valarray<_Tp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
 1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::valarray<_Tp>'
   15 |         cin>>n>q;
      |                ^
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
 1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
      | ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   mismatched types 'const std::valarray<_Tp>' and 'int'
   15 |         cin>>n>q;
      |                ^
In file included from stdc++.h:99:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
  350 |     operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/array:350:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::array<_Tp, _Nm>'
   15 |         cin>>n>q;
      |                ^
In file included from /nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/forward_list:38,
                 from stdc++.h:104:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
 1511 |     operator>(const forward_list<_Tp, _Alloc>& __lx,
      |     ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note:   template argument deduction/substitution failed:
foo.cc:15:16: note:   'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
   15 |         cin>>n>q;
      |                ^
In file included from stdc++.h:113:
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
   85 |   operator>(thread::id __x, thread::id __y) noexcept
      |   ^~~~~~~~
/nix/store/hf2gy3km07d5m0p1lwmja0rg9wlnmyr7-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note:   no known conversion for argument 1 from 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} to 'std::thread::id'
   85 |   operator>(thread::id __x, thread::id __y) noexcept
      |             ~~~~~~~~~~~^~~
foo.cc:17:22: error: 's' was not declared in this scope
   17 |                 cin>>s[i];
      |                      ^
foo.cc:18:14: error: 's' was not declared in this scope
   18 |         sort(s+1,s+1+n,cmp);
      |              ^
foo.cc:21:25: error: 'str' was not declared in this scope; did you mean 'std'?
   21 |                 cin>>k>>str;
      |                         ^~~
      |                         std
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1988 牛牛闯关
语言
C++
递交时间
2024-01-02 17:29:21
评测时间
2024-01-02 17:29:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes