This problem is in Contest(s) below:
Contest 1213:数位dp
Contest 1137:近期队测题及数位Dp