| Problem | cpicgame |
|---|---|
| User | Dubidubidaphdaph |
| Submission Time | 2026-06-23 10:01:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:7:19: error: ‘C’ was not declared in this scope
7 | cin >> Y >> R >> C;
| ^
cpicgame.cpp:9:15: error: expected initializer before ‘==’ token
9 | if (string C==Y) {
| ^~
cpicgame.cpp:9:15: error: expected ‘)’ before ‘==’ token
9 | if (string C==Y) {
| ~ ^~
| )
cpicgame.cpp:9:18: error: could not convert ‘C’ from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’
9 | if (string C==Y) {
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
cpicgame.cpp:10:15: error: lvalue required as left operand of assignment
10 | R=R/2 or R=Y;
| ^
cpicgame.cpp:12:15: error: expected initializer before ‘==’ token
12 | if (string C==R) {