Run ID:144933

提交时间:2026-01-24 19:41:49

#include<iostream> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a>c){ a=a-c; }else{ c=c-a; } if(b>d){ b=b-d; }else{ d=d-b; } if(a>b){ cout<<a; }else{ cout<<b; } if(c>d){ cout<<c; }else{ cout<<d; } return 0; }