Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144685 马俊潇 07切比雪夫距离 C++ Accepted 0 MS 272 KB 218 2026-01-24 15:32:21

Tests(10/10):


Code:

#include<iostream> #include<cmath> 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);}else{ cout<<abs(b-d);} return 0;}