Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
86995 | 汤弘毅 | 计算鞍点 | Python3 | Accepted | 37 MS | 3800 KB | 406 | 2024-07-31 21:13:32 |
s = [] for i in range(5): s.append(list(map(int,input().split()))) cnt = 0 def is_max_col(n,p): global s for i in range(5): if s[i][p] < n: return False return True for x in range(5): m = max(s[x]) col = s[x].index(m) if is_max_col(m,col): print(str(x+1),str(col+1),str(m)) cnt = cnt + 1 if cnt == 0: print('not found')