getline

腐烂的橘子

from collections import dequedef orangesRotting(grid):rows, cols = len(grid), len(grid[0])queue = dequefresh_count = 0# 初始化队列和计数fo

grid input getline 2024-12-23 15:27  3