고고학 최고의 발견 - Python, product
https://school.programmers.co.kr/learn/courses/30/lessons/131702 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 코드 & 풀이 from itertools import productimport copydef solution(clockHands): N = len(clockHands) direct = [(-1, 0), (1, 0), (0, 0), (0, -1), (0, 1)] # 위, 아래, 현재, 왼쪽, 오른쪽 def rotate(board, x, y, count): for dx, dy in direct: ..
2025. 2. 10.