Run ID:145151

提交时间:2026-01-25 09:09:30

#include <iostream> #include <algorithm> #include <cmath> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; int x = abs(a - c); int y = abs(b - d); int s= max(x, y); cout << s << endl; return 0; }