| Problem | firstabc |
|---|---|
| User | playiprobro |
| Submission Time | 2025-02-16 19:49:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
firstabc.cpp: In function ‘int main()’:
firstabc.cpp:7:11: error: expected ‘,’ or ‘;’ before ‘:’ token
7 | int a = 0:
| ^
firstabc.cpp:13:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (C[i] == "a") {
| ^~~
firstabc.cpp:15:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | } else if (C[i] == "b") {
| ^~~
firstabc.cpp:16:4: error: ‘b’ was not declared in this scope
16 | b += 1;
| ^
firstabc.cpp:17:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | } else if (C[i] == "c") {
| ^~~
firstabc.cpp:18:4: error: ‘c’ was not declared in this scope
18 | c += 1;
| ^
firstabc.cpp:21:17: error: ‘b’ was not declared in this scope
21 | if (a > 0 and b >0 and c>0) {
|