Problem | ultimateifelse |
---|---|
User | shniaa10 |
Submission Time | 2024-06-18 10:46:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:17:18: error: could not convert ‘S.std::__cxx11::basic_string<char>::operator=(((int)((char)((((const char*)"hmm") != 0) || (N == 20)))))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
17 | } else if (S = "hmm" || N == 20) {
| ~~^~~~~~~~~~~~~~~~~~
| |
| std::__cxx11::basic_string<char>