12. Euclidean algorithm 최대공약수, 최소공배수 알고리즘 https://hyunjini.tistory.com/54 최대공약수 최소공배수 알고리즘 (유클리드 호제법) 최대공약수 ➡️유클리드 호제: 2 개의 자연수 a, b(a > b)에 대해서 a를 b로 나눈 나머지가 r일 때, a와 b의 최대공약수는 b와 r의 최대공약수와 같다 두 수를 입력으로 받고 작은 수가 0이 될때 까지 hyunjini.tistory.com 12.1 ChocolatesByNumbers Two positive integers N and M are given. Integer N represents the number of chocolates arranged in a circle, numbered from 0 to N ..