Problem | whoatethefries |
---|---|
User | Haocheng |
Submission Time | 2024-11-08 08:58:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
whoatethefries.cpp: In function ‘int32_t main()’:
whoatethefries.cpp:8:15: error: lvalue required as left operand of assignment
8 | if((a=1 && b=2) || (a=2 && b=1)){
| ^
whoatethefries.cpp:8:31: error: lvalue required as left operand of assignment
8 | if((a=1 && b=2) || (a=2 && b=1)){
| ^
whoatethefries.cpp:10:22: error: lvalue required as left operand of assignment
10 | } else if((a=1 && b=3) || (a=3 && b=1)){
| ^
whoatethefries.cpp:10:38: error: lvalue required as left operand of assignment
10 | } else if((a=1 && b=3) || (a=3 && b=1)){
| ^
whoatethefries.cpp:12:23: error: lvalue required as left operand of assignment
12 | } else if ((a=3 && b=2) || (a=2 && b=3)){
| ^
whoatethefries.cpp:12:39: error: lvalue required as left operand of assignment
12 | } else