| Problem | cpicgame |
|---|---|
| User | Devthethala |
| Submission Time | 2026-06-23 11:11:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:10:13: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
10 | if (C = "Y") {
| ^~~
| |
| const char*
cpicgame.cpp:20:34: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
20 | if (choice = "2");
| ^~~
| |
| const char*
cpicgame.cpp:24:29: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
24 | if (C = "R") {
| ^~~
| |
| const char*
cpicgame.cpp: At global scope:
cpicgame.cpp:43:9: error: expected declaration before ‘}’ token
43 | }
| ^