나이트의 이동1 백준 7562 나이트의 이동 from collections import deque dy = (1, 1, -1, -1, 2, 2, -2, -2) dx = (2, -2, 2, -2, 1, -1, 1, -1) N = 0 def err(ex, ey): return 0 2022. 6. 13. 이전 1 다음