Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145401 徐文雅 07切比雪夫距离 C++ Accepted 1 MS 280 KB 197 2026-01-25 15:07:10

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(abs(a-c)>abs(b-d)) cout<<abs(a-c)<<endl; else cout<<abs(b-d)<<endl; return 0; }