| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145398 | 徐文雅 | 07切比雪夫距离 | C++ | Compile Error | 0 MS | 0 KB | 197 | 2026-01-25 15:06:44 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(ads(a-c)>ads(b-d)) cout<<ads(a-c)<<endl; else cout<<ads(b-d)<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:15: error: 'ads' was not declared in this scope
if(ads(a-c)>ads(b-d)) cout<