Problem whoatethefries
User Haocheng
Submission Time 2024-11-08 08:58:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

whoatethefries.cpp: In function ‘int32_t main()’:
whoatethefries.cpp:8:14: error: lvalue required as left operand of assignment
8 | if(a=1 && b=2) || (a=2 && b=1){
| ^
whoatethefries.cpp:8:17: error: expected primary-expression before ‘||’ token
8 | if(a=1 && b=2) || (a=2 && b=1){
| ^~
whoatethefries.cpp:8:30: error: lvalue required as left operand of assignment
8 | if(a=1 && b=2) || (a=2 && b=1){
| ^
whoatethefries.cpp:10:21: error: lvalue required as left operand of assignment
10 | } else if(a=1 && b=3) || (a=3 && b=1){
| ^
whoatethefries.cpp:10:24: error: expected primary-expression before ‘||’ token
10 | } else if(a=1 && b=3) || (a=3 && b=1){
| ^~
whoatethefries.cpp:10:37: error: lvalue required as left operand of assignment
10 | } else if(a=1 && b=3) || (a=3 && b=1){