| Problem | cpicgame |
|---|---|
| User | xinyu |
| Submission Time | 2026-06-23 10:43:08 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:8:11: error: expected initializer before ‘==’ token
8 | if (int C==int Y){
| ^~
cpicgame.cpp:8:11: error: expected ‘)’ before ‘==’ token
8 | if (int C==int Y){
| ~ ^~
| )
cpicgame.cpp:9:9: error: expected initializer before ‘/’ token
9 | if(int R/2 > Y){
| ^
cpicgame.cpp:9:9: error: expected ‘)’ before ‘/’ token
9 | if(int R/2 > Y){
| ~ ^
| )
cpicgame.cpp:10:6: error: redeclaration of ‘int R’
10 | int R = R/2;}
| ^
cpicgame.cpp:9:8: note: ‘int R’ previously declared here
9 | if(int R/2 > Y){
| ^
cpicgame.cpp:12:8: error: redeclaration of ‘int R’
12 | int R = int Y and int Y = int R
| ^
cpicgame.cpp:9:8: note: ‘int R’ previously declared here
9 | if(int R/2 > Y){
| ^
cpicgam