#include #define rep(i,n) for(int i=0;i> Px >> Py; cin >> Qx >> Qy; printf("%.20f\n", abs(Px - Qx) / 2.0 + abs(Py - Qy) / 2.0); }