Problem cpicgame
User yq
Submission Time 2026-06-23 10:59:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:10:7: error: ‘Y’ was not declared in this scope
10 | cin>>Y>>R>>C;
| ^
cpicgame.cpp:10:10: error: ‘R’ was not declared in this scope
10 | cin>>Y>>R>>C;
| ^
cpicgame.cpp:10:13: error: ‘C’ was not declared in this scope
10 | cin>>Y>>R>>C;
| ^
cpicgame.cpp:13:11: error: expected ‘;’ before ‘}’ token
13 | r= r/2
| ^
| ;
14 | } else {y=y/2
| ~
cpicgame.cpp:14:17: error: expected ‘;’ before ‘}’ token
14 | } else {y=y/2
| ^
| ;
15 | }
| ~