Run ID:159827
提交时间:2026-09-06 17:22:35
#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,c,d,i,f; cin>>a>>b>>c>>d; i=c-a; f=d-b; if(i<0){ i=-i; } if(f<0){ f=-f; } if(f>i){ cout<<f; }else{ cout<<i; } return 0; }