#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { int i, j, k; double px, py, qx, qy; cin >> px >> py >> qx >> qy; double timex = abs(px - qx) / 2; double timey = abs(py - qy) / 2; cout << timex + timey << endl; getchar(); getchar(); return 0; }