https://www.acmicpc.net/problem/2749해당 문제는 '피사노 주기' 라는 개념을 알고 있다면 쉽게 풀 수 있습니다. Pisano period - WikipediaFrom Wikipedia, the free encyclopedia Period of the Fibonacci sequence modulo an integer Plot of the first 10,000 Pisano periods. In number theory, the nth Pisano period, written as π(n), is the period with which the sequence of Fibonacci numbers taken moen.wikipedia.org피사노 주기는 피보나치 수열의 주기에 관한..