Problem firstabc
User Red123
Submission Time 2025-07-29 16:34:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp: In function ‘int main()’:
firstabc.cpp:11:2: error: expected ‘,’ or ‘;’ before ‘bool’
11 | bool b = false;
| ^~~~
firstabc.cpp:15:4: error: ‘a’ was not declared in this scope
15 | a = true;
| ^
firstabc.cpp:18:5: error: ‘b’ was not declared in this scope
18 | b = true;
| ^
firstabc.cpp:23:6: error: ‘a’ was not declared in this scope
23 | if(a = true and b = true and c = true){
| ^
firstabc.cpp:23:19: error: ‘b’ was not declared in this scope
23 | if(a = true and b = true and c = true){
| ^
firstabc.cpp:23:36: error: lvalue required as left operand of assignment
23 | if(a = true and b = true and c = true){
| ^~~~