| Problem | littlejohnny6 |
|---|---|
| User | Tyx2019 |
| Submission Time | 2026-05-20 14:54:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
littlejohnny6.cpp: In function ‘void solve()’:
littlejohnny6.cpp:5:19: error: no match for ‘operator==’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
5 | if(wipe() == 'white'){
| ~~~~~~ ^~ ~~~~~~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/string:40,
from littlejohnny6.h:4,
from littlejohnny6.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:448:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
448 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>&