运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
645315 Y1614824396_fdsf 1070 - 子序列 编译错误 0 0 MS 0 KB C++ 558 8天前
暂时无法获取本题测试点详情。

Main.cc:7:15: warning: multi-character character constant [-Wmultichar]
7 | if(s=='EOF') break;
| ^~~~~
Main.cc: In function 'int main()':
Main.cc:7:13: error: no match for 'operator==' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
7 | if(s=='EOF') break;
| ~^~~~~~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/12.2.1/regex:66,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:110,
from Main.cc:1:
/usr/include/c++/12.2.1/bits/regex.h:1063:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator==(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1063 | operator==(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1063:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1159: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>&)'
1159 | operator==(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1159:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1234: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>&)'
1234 | operator==(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1234:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1326:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1326 | operator==(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1326:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1401:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1401 | operator==(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1401:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1494:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1494 | operator==(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1494:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1573:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1573 | operator==(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1573:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:2131:5: note: candidate: 'template<class _Bi_iter, class _Alloc> bool std::__cxx11::operator==(const match_results<_BiIter, _Alloc>&, const match_results<_BiIter, _Alloc>&)'
2131 | operator==(const match_results<_Bi_iter, _Alloc>& __m1,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:2131:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::match_results<_BiIter, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/iosfwd:40,
from /usr/include/c++/12.2.1/ios:38,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/sstream:38,
from /usr/include/c++/12.2.1/complex:45,
from /usr/include/c++/12.2.1/ccomplex:39,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:54:
/usr/include/c++/12.2.1/bits/postypes.h:192:5: note: candidate: 'template<class _StateT> bool std::operator==(const fpos<_StateT>&, const fpos<_StateT>&)'
192 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/postypes.h:192:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::fpos<_StateT>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/string:41,
from /usr/include/c++/12.2.1/bits/locale_classes.h:40,
from /usr/include/c++/12.2.1/bits/ios_base.h:41,
from /usr/include/c++/12.2.1/ios:42:
/usr/include/c++/12.2.1/bits/allocator.h:219:5: note: candidate: 'template<class _T1, class _T2> bool std::operator==(const allocator<_CharT>&, const allocator<_T2>&)'
219 | operator==(const allocator<_T1>&, const allocator<_T2>&)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/allocator.h:219:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::allocator<_CharT>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/string:47:
/usr/include/c++/12.2.1/bits/stl_iterator.h:444:5: note: candidate: 'template<class _Iterator> bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
444 | operator==(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:444:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:489:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator==(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
489 | operator==(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:489:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1656:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1656 | operator==(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1656:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1726:5: note: candidate: 'template<class _Iterator> bool std::operator==(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1726 | operator==(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1726:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:64,
from /usr/include/c++/12.2.1/string:50:
/usr/include/c++/12.2.1/bits/stl_pair.h:640:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator==(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
640 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_pair.h:640:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/string:53:
/usr/include/c++/12.2.1/bits/basic_string.h:3575: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>&)'
3575 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3575:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3584:5: note: candidate: 'template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const __cxx11::basic_string<_CharT>&, const __cxx11::basic_string<_CharT>&)'
3584 | operator==(const basic_string<_CharT>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3584:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__cxx11::basic_string<_CharT>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3599:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3599 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3599:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const _CharT*' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3640:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3640 | operator==(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3640:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/bits/locale_facets.h:48,
from /usr/include/c++/12.2.1/bits/basic_ios.h:37,
from /usr/include/c++/12.2.1/ios:44:
/usr/include/c++/12.2.1/bits/streambuf_iterator.h:233:5: note: candidate: 'template<class _CharT, class _Traits> bool std::operator==(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)'
233 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/streambuf_iterator.h:233:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/complex:464:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const complex<_Tp>&, const complex<_Tp>&)'
464 | operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:464:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::complex<_Tp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/complex:469:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const complex<_Tp>&, const _Tp&)'
469 | operator==(const complex<_Tp>& __x, const _Tp& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:469:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::complex<_Tp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/complex:475:5: note: candidate: 'template<class _Tp> constexpr bool std::operator==(const _Tp&, const complex<_Tp>&)'
475 | operator==(const _Tp& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:475:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::complex<_Tp>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/deque:64,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:68:
/usr/include/c++/12.2.1/bits/stl_deque.h:2290:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator==(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2290 | operator==(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_deque.h:2290:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/functional:54,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:71:
/usr/include/c++/12.2.1/tuple:1496:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1496 | operator==(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/12.2.1/tuple:1496:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/functional:59:
/usr/include/c++/12.2.1/bits/std_function.h:718:5: note: candidate: 'template<class _Res, class ... _Args> bool std::operator==(const function<_Res(_ArgTypes ...)>&, nullptr_t)'
718 | operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/std_function.h:718:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::function<_Res(_ArgTypes ...)>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/std_function.h:725:5: note: candidate: 'template<class _Res, class ... _Args> bool std::operator==(nullptr_t, const function<_Res(_ArgTypes ...)>&)'
725 | operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/std_function.h:725:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::function<_Res(_ArgTypes ...)>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/list:63,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:79:
/usr/include/c++/12.2.1/bits/stl_list.h:2124:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator==(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2124 | operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_list.h:2124:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/map:61,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:81:
/usr/include/c++/12.2.1/bits/stl_map.h:1511: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>&)'
1511 | operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_map.h:1511:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/map:62:
/usr/include/c++/12.2.1/bits/stl_multimap.h:1132: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>&)'
1132 | operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_multimap.h:1132:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/memory:76,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:82:
/usr/include/c++/12.2.1/bits/unique_ptr.h:824: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>&)'
824 | operator==(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:824:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:832:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator==(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
832 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:832:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:840:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator==(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
840 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:840:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/bits/shared_ptr.h:53,
from /usr/include/c++/12.2.1/memory:77:
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1793: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>&)'
1793 | operator==(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1793:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1799:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1799 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1799:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1819:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1819 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1819:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:555:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator==(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
555 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:555:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:561:5: note: candidate: 'template<class _Tp> bool std::operator==(const shared_ptr<_Tp>&, nullptr_t)'
561 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:561:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:582:5: note: candidate: 'template<class _Tp> bool std::operator==(nullptr_t, const shared_ptr<_Tp>&)'
582 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:582:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/vector:64,
from /usr/include/c++/12.2.1/queue:61,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:86:
/usr/include/c++/12.2.1/bits/stl_vector.h:2035:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator==(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2035 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_vector.h:2035:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/queue:64:
/usr/include/c++/12.2.1/bits/stl_queue.h:380:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator==(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
380 | operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_queue.h:380:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/set:61,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:87:
/usr/include/c++/12.2.1/bits/stl_set.h:985:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator==(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
985 | operator==(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:985:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/set:62:
/usr/include/c++/12.2.1/bits/stl_multiset.h:972:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator==(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
972 | operator==(const multiset<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_multiset.h:972:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/stack:61,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:89:
/usr/include/c++/12.2.1/bits/stl_stack.h:356:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator==(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
356 | operator==(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_stack.h:356:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
7 | if(s=='EOF') break;
| ^~~~~
In file included from /usr/include/c++/12.2.1/valarray:603,
from /usr/include/c++/12.2.1/x86_64-alpine-linux-musl/bits/stdc++.h:95:
/usr/include/c++/12.2.1/bits/valarray_after.h:417:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__equal_to, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__equal_to, typename _Dom1::value_type>::result_type> std::operator==(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
417 | _DEFINE_EXPR_BINARY_OPERATOR(==, struct std::__equal_to)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/valarray_after.h:417:5: note: template argument deduction/substitution failed:
Main.cc:7:15: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
7 | if(s=='EOF') break;
| ^~~~~
/usr/include/c++/12.2.1/bits/valarray_after.h:417:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__equal_to, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__equal_to, typename _Dom1::value_type>::result_type> std::operator==(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'