Sichuan University Programming Contest 2019 Final(team)

H: Semi-Fibonacci