Problem evilbz
User nzixuanDHS67
Submission Time 2026-06-23 09:33:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evilbz.cpp: In function ‘int main()’:
evilbz.cpp:5:6: error: ‘s’ was not declared in this scope
5 | int s;
| ^
evilbz.cpp:6:9: error: expected ‘;’ before ‘a’
6 | cout a;
| ^~
| ;
evilbz.cpp:7:9: error: ‘bz’ was not declared in this scope
7 | (s==bz)
| ^~
evilbz.cpp:9:8: error: expected ‘(’ before ‘>>’ token
9 | if int >> "bz";
| ^~
| (
evilbz.cpp:10:10: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [5]’)
10 | cout >> "CPIC"
| ~~~~ ^~ ~~~~~~
| | |
| | const char [5]
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from evilbz.cpp:1:
/usr/include/c++/9/cstddef:140:5: