#include #define rep(i,n) for(int i=0;i> Px >> Py; cin >> Qx >> Qy; cout << abs(Px - Qx) / 2.0 + abs(Py - Qy) / 2.0 << endl; }