편집 시간: 2022년 1월 31일 오후 6:06

코드

Algorithm/2609.py at main · Junroot/Algorithm

풀이

유클리드 호제법을 사용하면 쉽게 해결할 수 있다.