Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
66900 | 胡海峰老师 | 二维数组最大值 | Python3 | Accepted | 28 MS | 3776 KB | 296 | 2024-03-11 11:17:24 |
def calc_max(a): res =0 for x in range(len(a)): for y in range( len(a[0])): if a[x][y]>res: res =a[x][y] return res lst =[] for x in range(3): tmp = list(map(int,input().split())) lst.append(tmp) ans = calc_max(lst) print(ans)