Problem 2719 · Hard

Count of Integers

Count integers up to each bound by digit DP over digit sums, then subtract the lower bound from the upper bound and add it back.

Open the interactive visualisation