Problem simp
User ChronoVortex
Submission Time 2023-11-10 09:52:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:11:24: error: lvalue required as left operand of assignment
11 | if ((sx = ix and ix = dx) or (sx = ix and ix = dx)) {
| ^~
simp.cpp:11:49: error: lvalue required as left operand of assignment
11 | if ((sx = ix and ix = dx) or (sx = ix and ix = dx)) {
| ^~
simp.cpp:13:31: error: lvalue required as left operand of assignment
13 | } else if ((sy = iy and iy = dy) or (sy = iy and iy = dy)) {
| ^~
simp.cpp:13:56: error: lvalue required as left operand of assignment
13 | } else if ((sy = iy and iy = dy) or (sy = iy and iy = dy)) {
| ^~