Problem | yayornay |
---|---|
User | lynovyl |
Submission Time | 2024-06-21 13:49:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: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>