| Problem | cpicgame |
|---|---|
| User | Lerongt |
| Submission Time | 2026-06-23 11:03:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:6:9: error: expected primary-expression before ‘char’
6 | cin >> char=C >> Y >> R;
| ^~~~
cpicgame.cpp:7:6: error: ‘C’ was not declared in this scope
7 | if( C = Y);{cout R/2 }
| ^
cpicgame.cpp:7:18: error: expected ‘;’ before ‘R’
7 | if( C = Y);{cout R/2 }
| ^~
| ;
cpicgame.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | else if (C = R);{cout Y/2}
| ^~~~
cpicgame.cpp:8:12: error: ‘C’ was not declared in this scope
8 | else if (C = R);{cout Y/2}
| ^
cpicgame.cpp:8:24: error: expected ‘;’ before ‘Y’
8 | else if (C = R);{cout Y/2}
| ^~
| ;