Run ID:86995

提交时间: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')