| Problem | cpicgame |
|---|---|
| User | Devthethala |
| Submission Time | 2026-06-23 11:02:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicgame.cpp: In function ‘int main()’:
cpicgame.cpp:10:11: error: could not convert ‘C.std::__cxx11::basic_string<char>::operator=(((const char*)"Y"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
10 | if (C = "Y") {
| ~~^~~~~
| |
| std::__cxx11::basic_string<char>
cpicgame.cpp:13:20: error: could not convert ‘choice.std::__cxx11::basic_string<char>::operator=(((const char*)"a"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
13 | if (choice = "a"){
| ~~~~~~~^~~~~
| |
| std::__cxx11::basic_string<char>
cpicgame.cpp:20:34: error: ‘b’ was not declared in this scope
20 | if (choice = b);
| ^
cpicgame.cpp:24:29: error: ‘R’ was not declared in this scope
24 | if (C = R) {
|