# 재귀와 탐색을 통해 푼 풀이 # 계속 이런 문제 유형을 풀어봐야 익숙해 질 것 같다. import sys from collections import deque from copy import deepcopy input = sys.stdin.readline n,m = map(int,input().split()) arr = [ list(map(int,input().split())) for i in range(n)] virus_q = deque([]) result = 0 for i in range(n): for j in range(m): if arr[i][j] == 2: # 바이러스 위치 찾기 virus_q.append([i,j]) def search(): global result check_arr = de..