n = int(input)res = 0preIndex = -1for i in range(n): times = list(map(int, input.split)) if preIndex == -1: minTime = min(times) preIndex = times.index(minTime) else: minTime = min(times[:preIndex] + times[preIndex + 1:]) preIndex = times.index(minTime) res += minTimeprint(res)摘要:n = int(input)res = 0preIndex = -1for i in range(n): times = list(map(int, input.split)) if preIndex == -1: minTime = min(times) p
来源:王者级科技