Run ID:87621

提交时间:2024-08-10 21:33:25

#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d,x,y; cin>>a>>b>>c>>d; x=abs(c-a); y=abs(d-b); if(x>y) cout<<x; else cout<<y; return 0; }