Problem | whalegroups |
---|---|
User | PlayVoltz |
Submission Time | 2025-05-15 14:41:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
whalegroups.cpp: In function ‘int32_t main()’:
whalegroups.cpp:47:27: error: no match for ‘operator==’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type’ {aka ‘std::__cxx11::basic_string<char>’} and ‘char’)
47 | if (ans.size()==1&&ans[0]=='0'){
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from whalegroups.cpp:4:
/usr/include/c++/9/bits/postypes.h:222:5: note: candidate: ‘template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
222 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/9/bits/postypes.h:222:5: note: templ