Posted 2017-12-09Updated 2021-07-17AlgorithmGenerations of Tribbleshttps://www.acmicpc.net/problem/9507 풀이 dp 쉬운 문제 d[i] d[i-2] + d[i-3] + d[i-4] + d[i-1]