Run ID:5358

提交时间:2024-11-10 10:06:54

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