This problem is in Contest(s) below:
Contest 6120:AK张老师 算法初级A班 递推和vec
Contest 6101:AK郦老师 算法初级B班 递推初步 家庭作业