Run ID:82103
提交时间:2024-07-12 18:38:11
#include<bits/stdc++.h> using namespace std; int main() { int x1,x2,y1,y2,x,y; cin>>x1>>y1>>x2>>y2; x = abs(x1-x2); y = abs(y2-y1); if(x>y){ cout<<x; }else{ cout<<y; } return 0; }