| Problem | cpicgame |
|---|---|
| User | uuhhhhhIDK |
| Submission Time | 2026-06-23 10:34:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:16:7: error: expected ‘(’ before ‘c’
16 | if c = 'Y' or 'y' {
| ^
| (
cpicgame.cpp:18:4: error: expected ‘}’ before ‘else’
18 | else cout << "Raphael wins!";}
| ^~~~
cpicgame.cpp:15:22: note: to match this ‘{’
15 | if (y ==1 and r==1){
| ^
cpicgame.cpp:19:3: error: ‘else’ without a previous ‘if’
19 | }else {cout << "Invalid";}
| ^~~~
cpicgame.cpp: At global scope:
cpicgame.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^