Problem ultimateifelse
User Khai
Submission Time 2024-06-18 17:44:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:30:31: error: lvalue required as left operand of assignment
30 | else if (s == "world" && n = 3) {
| ^
ultimateifelse.cpp:34:16: error: ‘hmm’ was not declared in this scope
34 | else if (s == hmm or n = 20) {
| ^~~
ultimateifelse.cpp:38:16: error: overloaded function with no contextual type information
38 | else if (size.s > 5) {
| ^
ultimateifelse.cpp:42:16: error: overloaded function with no contextual type information
42 | else if (size.s == size.n) {
| ^
ultimateifelse.cpp:42:26: error: overloaded function with no contextual type information
42 | else if (size.s == size.n) {
| ^