Problem boxispull
User Jasper123
Submission Time 2026-05-01 09:50:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp: In function ‘int main()’:
boxispull.cpp:13:28: error: expected ‘;’ before ‘:’ token
13 | cin>>x1>>x2>>y3>>y4:
| ^
| ;
boxispull.cpp:15:20: error: ‘y2’ was not declared in this scope; did you mean ‘y4’?
15 | int dy=abs(y2-y4);
| ^~
| y4
boxispull.cpp:16:12: error: ‘dx’ was not declared in this scope; did you mean ‘dy’?
16 | if(dx==0&&dy==0){
| ^~
| dy