Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144699 王峻熙 07切比雪夫距离 C++ Accepted 0 MS 276 KB 222 2026-01-24 15:42:42

Tests(10/10):


Code:

#include<iostream> 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; }