Problem ultimateifelse
User fwyr
Submission Time 2023-01-23 21:19:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:16:16: 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’
16 | else if (s = "hmm" or n > 20) cout << "sus";
| ~~^~~~~~~~~~~~~~~~~
| |
| std::__cxx11::basic_string<char>