| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144863 | c13 | 07切比雪夫距离 | C++ | Compile Error | 0 MS | 0 KB | 165 | 2026-01-24 19:18:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int t,n; scanf("%d %d %d %d", &t,,&a,&b,&n); cout<<max(abs(t-b),abs(n-a))<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:5:29: error: expected primary-expression before ',' token
scanf("%d %d %d %d", &t,,&a,&b,&n);
^
Main.cc:5:31: error: 'a' was not declared in this scope
scanf("%d %d %d %d", &t,,&a,&b,&n);
^
Main.cc:5:34: error: 'b' was not declared in this scope
scanf("%d %d %d %d", &t,,&a,&b,&n);
^