Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92854 | 余泽越 | 07切比雪夫距离 | Python3 | Wrong Answer | 40 MS | 3776 KB | 225 | 2024-10-06 15:35:52 |
a = input().split() b = int(a[0]) c = int(a[1]) d = int(a[2]) e = int(a[3]) if b-d<0: x = (b-d)*-1 else: x = b-d if c-e<0: y = (c-e)*-1 else: x = c-e if x > y: print(x) else: print(y)
------Input------
37 85 25 78
------Answer-----
12
------Your output-----