#include #include int main(void){ int Px,Py,Qx,Qy; scanf("%d %d %d %d",&Px,&Py,&Qx,&Qy); printf("%f",(double)(abs(Px-Qx))/2+(abs(Py-Qy))/2); return 0; }