0_0_39203284_275.cpp: In function 'int main()':
0_0_39203284_275.cpp:12:44: error: expected ';' before 'double'
12 | cin>>x1>>y1>>x2>>y2>>x3>>y3>>x4>>y4
| ^
| ;
13 | double xs=min(x1,x2),ys=min(y1,y2),xb=max(x1,x2),yb=max(y1,y2);
| ~~~~~~
0_0_39203284_275.cpp:15:29: error: 'xs' was not declared in this scope; did you mean 'xs2'?
15 | double res=min((xs-xb2)*(ys-yb2),(xs2-xb)*(ys2-yb));
| ^~
| xs2
0_0_39203284_275.cpp:15:38: error: 'ys' was not declared in this scope; did you mean 'ys2'?
15 | double res=min((xs-xb2)*(ys-yb2),(xs2-xb)*(ys2-yb));
| ^~
| ys2
0_0_39203284_275.cpp:15:51: error: 'xb' was not declared in this scope; did you mean 'xb2'?
15 | double res=min((xs-xb2)*(ys-yb2),(xs2-xb)*(ys2-yb));
| ^~
| xb2
0_0_39203284_275.cpp:15:60: error: 'yb' was not declared in this scope; did you mean 'yb2'?
15 | double res=min((xs-xb2)*(ys-yb2),(xs2-xb)*(ys2-yb));
| ^~
| yb2
|