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

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:28:31: error: lvalue required as left operand of assignment
28 | else if (s == "world" && n = 3) {
| ^
ultimateifelse.cpp:32:29: error: lvalue required as left operand of assignment
32 | else if (s == "hmm" or n = 20) {
| ^~
ultimateifelse.cpp:36:16: error: overloaded function with no contextual type information
36 | else if (size.s > 5) {
| ^
ultimateifelse.cpp:40:16: error: overloaded function with no contextual type information
40 | else if (size.s == size.n) {
| ^
ultimateifelse.cpp:40:26: error: overloaded function with no contextual type information
40 | else if (size.s == size.n) {
| ^