[백준/Gold5]7569. Tomato (python)
https://www.acmicpc.net/problem/7569풀이 코드# https://www.acmicpc.net/problem/7569import sys, collectionsinput = sys.stdin.readline# 가로(열), 세로(행), 높이N, M, H = map(int, input().split(" "))arr = []subArr = []for i in range(M * H): if i % M == 0 and subArr: arr.append(subArr[:]) subArr = [] subArr.append(list(map(int, input().split(" "))))arr.append(subArr[:])dh = [0, 0, 0, 0, 1, -1]dr = [1, -..
2025. 5. 15.