Problem cpicgame
User nzixuanDHS67
Submission Time 2026-06-23 10:43:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:9:1: error: expected initializer before ‘cin’
9 | cin >> c >> y >> r;
| ^~~
cpicgame.cpp:10:13: error: ‘c’ was not declared in this scope
10 | if (c="y")
| ^
cpicgame.cpp:11:13: error: expected ‘;’ before string constant
11 | cout "Y"
| ^~~~
| ;