๋ถ๋ฅ : DFS, ๋ฐฑํธ๋ํน๋ฌธ์ ๋ ๊ต์ฅํ ๋ด๋ฐฑํ๋ฐ, ๋ฐฑํธ๋ํน์ ์ ์ดํดํ์ง ๋ชปํ๋ฉด ํ๊ธฐ ํ๋ค๋ค. keypoint : DFS, ๋ฐฑํธ๋ํนcodeimport sysinput = sys.stdin.readline n = int(input()) visited = [-1] * ncnt = 0 def check(now_row): for row in range(now_row): if visited[now_row] == visited[row] or now_row - row == abs(visited[now_row] - visited[row]): return False return True def dfs(row): global cnt if row == n: ..