Problem | yayornay |
---|---|
User | lynovyl |
Submission Time | 2024-06-21 12:46:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
yayornay.cpp:12:12: error: missing terminating " character
12 | response="Nay'
| ^~~~~
yayornay.cpp: In function ‘int main()’:
yayornay.cpp:5:7: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"CPIC"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
5 | if (s="CPIC"){
| ~^~~~~~~
| |
| std::__cxx11::basic_string<char>
yayornay.cpp:6:3: error: ‘response’ was not declared in this scope
6 | response="Yay"
| ^~~~~~~~
yayornay.cpp:8:12: error: could not convert ‘s.std::__cxx11::basic_string<char>::operator=(((const char*)"SGIO"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
8 | else if (s="SGIO") {
| ~^~~~~~~
| |
| std::__cxx11::basic_string<char>
yayornay.cpp:9:3: error: ‘response’ was not declared in this scope
9 | respo