Problem evilbz
User abdullahmazlan13
Submission Time 2026-06-23 10:17:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evilbz.cpp: In function ‘int main()’:
evilbz.cpp:3:6: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
3 | if (cin << "bz" then
| ^~~
| std::cin
In file included from evilbz.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
evilbz.cpp:3:17: error: expected ‘)’ before ‘then’
3 | if (cin << "bz" then
| ~ ^~~~~
| )
evilbz.cpp:5:27: error: expected ‘)’ before ‘then’
5 | else if (cin << "evil bz" then
| ~ ^~~~~
| )
evilbz.cpp:8:10: error: expected ‘;’ before ‘}’ token
8 | return 0
| ^
| ;
9 |
10 | }
| ~