第一题,螺旋矩阵100% while True: try: line = list(map(int, input().strip().split())) n, m = line[0], line[1] matrix = [] for i in range(n): line = list(map(int, input().strip().split())) matrix.append(line) i, j, di, dj = 0, 0, 1, 0 ...