I’ve not solved this problem, but it looks like a Digit DP to me.

Suggested Topics

Want to read more? Browse other topics in Online Judge System or view latest topics.