1 m = int(input()) 2 grid = [[] for i in range(m)] 3 for i in range(m): 4 line = input().split(‘ ‘) 5 for j in range(len(line)): 6 grid[i].append(int(line[j]))
原文地址:https://www.cnblogs.com/reaptomorrow-flydream/p/9613847.html
时间: 2024-10-03 11:07:40