由于输入输出问题没调通,后来调通 1, 走格子,最大的路径是多少 m,n = [int(i) for i in input().split()] grid = [] for i in range(m): grid.append([int(i) for i in input().split()]) print(grid) def countWays2(x, y, grid): record = [] for i in range(x): record.append([0]*y) record[0][0] = grid[0][0] ##...