运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
637075 qwer789456 1001 - 求和 编译错误 0 0 MS 0 KB C++ 206 19天前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:11:25: error: no match for 'operator!=' (operand types are 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} and 'const char [4]')
11 | while(cin>>input!="EOF"){
| ~~~~~~~~~~^~~~~~~
| | |
| | const char [4]
| std::basic_istream<char>::__istream_type {aka std::basic_istream<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:1092:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1092 | operator!=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1092:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1172: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>&)'
1172 | operator!=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1172:5: note: template argument deduction/substitution failed:
Main.cc:11:27: 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>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1265: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>&)'
1265 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1265:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1339:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1339 | operator!=(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1339:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1433:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1433 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1433:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1507:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator!=(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1507 | operator!=(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1507:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:1607:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator!=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1607 | operator!=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:1607:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/regex.h:2156:5: note: candidate: 'template<class _Bi_iter, class _Alloc> bool std::__cxx11::operator!=(const match_results<_BiIter, _Alloc>&, const match_results<_BiIter, _Alloc>&)'
2156 | operator!=(const match_results<_Bi_iter, _Alloc>& __m1,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/regex.h:2156:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::match_results<_BiIter, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:197:5: note: candidate: 'template<class _StateT> bool std::operator!=(const fpos<_StateT>&, const fpos<_StateT>&)'
197 | operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/postypes.h:197:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::fpos<_StateT>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:226:5: note: candidate: 'template<class _T1, class _T2> bool std::operator!=(const allocator<_CharT>&, const allocator<_T2>&)'
226 | operator!=(const allocator<_T1>&, const allocator<_T2>&)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/allocator.h:226:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::allocator<_CharT>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/string:47:
/usr/include/c++/12.2.1/bits/stl_iterator.h:458:5: note: candidate: 'template<class _Iterator> bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
458 | operator!=(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:458:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:503:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator!=(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
503 | operator!=(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:503:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1675:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1675 | operator!=(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1675:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1741:5: note: candidate: 'template<class _Iterator> bool std::operator!=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1741 | operator!=(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_iterator.h:1741:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:670:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator!=(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
670 | operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_pair.h:670:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::pair<_T1, _T2>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/string:53:
/usr/include/c++/12.2.1/bits/basic_string.h:3653: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>&)'
3653 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3653:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3666:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3666 | operator!=(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3666:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const _CharT*' and 'std::basic_istream<char>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3678:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3678 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/basic_string.h:3678:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:241:5: note: candidate: 'template<class _CharT, class _Traits> bool std::operator!=(const istreambuf_iterator<_CharT, _Traits>&, const istreambuf_iterator<_CharT, _Traits>&)'
241 | operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/streambuf_iterator.h:241:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/complex:483:5: note: candidate: 'template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const complex<_Tp>&)'
483 | operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:483:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::complex<_Tp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/complex:488:5: note: candidate: 'template<class _Tp> constexpr bool std::operator!=(const complex<_Tp>&, const _Tp&)'
488 | operator!=(const complex<_Tp>& __x, const _Tp& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:488:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::complex<_Tp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/complex:493:5: note: candidate: 'template<class _Tp> constexpr bool std::operator!=(const _Tp&, const complex<_Tp>&)'
493 | operator!=(const _Tp& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/complex:493:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::complex<_Tp>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:2338:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator!=(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2338 | operator!=(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_deque.h:2338:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:1551:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator!=(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1551 | operator!=(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/12.2.1/tuple:1551:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::tuple<_Elements ...>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/functional:59:
/usr/include/c++/12.2.1/bits/std_function.h:736:5: note: candidate: 'template<class _Res, class ... _Args> bool std::operator!=(const function<_Res(_ArgTypes ...)>&, nullptr_t)'
736 | operator!=(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/std_function.h:736:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::function<_Res(_ArgTypes ...)>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/std_function.h:742:5: note: candidate: 'template<class _Res, class ... _Args> bool std::operator!=(nullptr_t, const function<_Res(_ArgTypes ...)>&)'
742 | operator!=(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/std_function.h:742:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::function<_Res(_ArgTypes ...)>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:2189:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator!=(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2189 | operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_list.h:2189:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:1556: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>&)'
1556 | operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_map.h:1556:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/map:62:
/usr/include/c++/12.2.1/bits/stl_multimap.h:1177: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>&)'
1177 | operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_multimap.h:1177:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:848: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>&)'
848 | operator!=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:848:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:856:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator!=(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
856 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:856:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:863:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
863 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:863:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:1824: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>&)'
1824 | operator!=(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1824:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1830:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1830 | operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1830:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1835:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1835 | operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr_base.h:1835:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:588:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator!=(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
588 | operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:588:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::shared_ptr<_Tp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:594:5: note: candidate: 'template<class _Tp> bool std::operator!=(const shared_ptr<_Tp>&, nullptr_t)'
594 | operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:594:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::shared_ptr<_Tp>'
11 | while(cin>>input!="EOF"){
| ^~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:600:5: note: candidate: 'template<class _Tp> bool std::operator!=(nullptr_t, const shared_ptr<_Tp>&)'
600 | operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/shared_ptr.h:600:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: mismatched types 'const std::shared_ptr<_Tp>' and 'const char [4]'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:2081:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator!=(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2081 | operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_vector.h:2081:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/queue:64:
/usr/include/c++/12.2.1/bits/stl_queue.h:406:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator!=(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
406 | operator!=(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_queue.h:406:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:1030:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1030 | operator!=(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:1030:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
In file included from /usr/include/c++/12.2.1/set:62:
/usr/include/c++/12.2.1/bits/stl_multiset.h:1017:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator!=(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1017 | operator!=(const multiset<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_multiset.h:1017:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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:382:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator!=(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
382 | operator!=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_stack.h:382:5: note: template argument deduction/substitution failed:
Main.cc:11:27: note: 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
11 | while(cin>>input!="EOF"){
| ^~~~~
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: