| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144933 | 杨润东 | 07切比雪夫距离 | C++ | Wrong Answer | 0 MS | 272 KB | 347 | 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; }
------Input------
37 85 25 78
------Answer-----
12
------Your output-----
1278