Problem cpicgame
User xinyu
Submission Time 2026-06-23 10:16:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:8:7: error: expected unqualified-id before 'C'
8 | char 'C';
| ^~~
cpicgame.cpp:9:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
9 | if ("C"==Y){
| ^
cpicgame.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
cpicgame.cpp:10:17: note: in expansion of macro ‘int’
10 | int R = R/2 or int R = Y and int Y = R;
| ^~~
cpicgame.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
cpicgame.cpp:13:18: note: in expansion of macro ‘int’
13 | int Y = Y/2 or int Y = R and int R = Y
| ^~~
cpicgame.cpp:15:13: error: expected initializer before ‘>’ token
15 | if (int Y > 0 || int R > 0) continue;
| ^
cpicga