https://www.acmicpc.net/problem/7113 7113번: Rectangle Vilibald has decided to cut a right-angled checked page of size n×m cells into squares. First of all he cut off the largest possible square using a straight cut. Then he took away the square and repeated the action with the remaining rectangle. In this wa www.acmicpc.net 3 7 정사각형을 자르는 프로세스를 숫자로 나타내면 n m 3 7 3 4 3 1 2 1 1 1 이다 즉, 둘중에 높은 값에서 낮은..