10 lines
152 B
Python
10 lines
152 B
Python
import sys
|
|
|
|
input = sys.stdin.readline
|
|
arr=[]
|
|
|
|
for i in range(5):
|
|
arr.append(list(map(str, input().strip())))
|
|
|
|
dx = [0, 1, 0, -1]
|
|
dy = [1, 0, -1, 0] |