| Problem | cpicgame |
|---|---|
| User | Devthethala |
| Submission Time | 2026-06-23 10:59:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:10:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
10 | if (C == "Y") {
| ^~~
cpicgame.cpp:13:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (choice == "a"){
| ^~~
cpicgame.cpp:18:17: error: expected ‘}’ before ‘else’
18 | else if (y == 0){
| ^~~~
cpicgame.cpp:15:24: note: to match this ‘{’
15 | if (r == 0){
| ^
cpicgame.cpp:20:34: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
20 | if (choice = "b");
| ^~~
| |
| const char*
cpicgame.cpp:24:30: error: ISO C++ forbids comparison between pointer and in