| Problem | evilbz |
|---|---|
| User | brian |
| Submission Time | 2026-06-23 09:24:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
evilbz.cpp: In function ‘int main()’:
evilbz.cpp:6:8: error: could not convert ‘x.std::__cxx11::basic_string<char>::operator=(((const char*)"bz"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
6 | if (x = "bz"){
| ~~^~~~~~
| |
| std::__cxx11::basic_string<char>
evilbz.cpp:8:15: error: could not convert ‘x.std::__cxx11::basic_string<char>::operator=(((const char*)"evil bz"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
8 | } else if (x = "evil bz"){
| ~~^~~~~~~~~~~
| |
| std::__cxx11::basic_string<char>