Run ID:119565

提交时间:2025-05-17 18:25:09

#include<iostream> #include<cmath> using namespace std; int main(){ int x1,y1,x2,y2; cin>>x1>>y1>>x2>>y2; if(abs(x1-x2) > abs(y1-y2)){ cout<<x1<<","<<y1; }else{ cout<<x2<<","<<y2; } }