This problem is in Contest(s) below:
Contest 1074:长训班动规高阶专题
Contest 1111:动态规划复习