| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133351 | 李昱龙 | 07切比雪夫距离 | C++ | Compile Error | 0 MS | 0 KB | 334 | 2025-10-18 15:15:21 |
#include<bits/stdc++.h> using namespace std; int main(){ int x1,y1,x2,y2,a,b; cin>>x1>>y1>>x2>>y2; a = abs(x1-x2); b = abs(y1-y2); if(a>b){ cout<<x; } else{ cout<<b; } return 0; }
Main.cc: In function 'int main()': Main.cc:9:9: error: 'x' was not declared in this scope cout<