Problem firstabc
User R9q5P8
Submission Time 2026-05-31 23:06:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp: In function ‘int main()’:
firstabc.cpp:8:2: error: expected initializer before ‘a’
8 | a = b = c = false;
| ^
firstabc.cpp:17:23: error: ‘c’ was not declared in this scope
17 | if (current == 'C') c= true;
| ^
firstabc.cpp:18:13: error: ‘c’ was not declared in this scope
18 | if (a&&b&&c){cout << i; return 0;}
| ^