| Problem | evilbz |
|---|---|
| User | Magenta |
| Submission Time | 2026-06-23 10:32:55 |
| 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 ‘C.std::__cxx11::basic_string<char>::operator=(((const char*)"bz"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
6 | if (C = "bz") {
| ~~^~~~~~
| |
| std::__cxx11::basic_string<char>
evilbz.cpp:7:15: error: no match for ‘operator=’ (operand types are ‘std::basic_ostream<char>’ and ‘const char [5]’)
7 | cout << A = "CPIC";
| ^~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from evilbz.cpp:1:
/usr/include/c++/9/ostream:408:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>& std::basic_ostream&