You are viewing a single comment's thread. Return to all comments →
Simple digit dp problem. Constraints on M are very less. Can be upto 1 million according to my solution.
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #164: Numbers for which no three consecutive digits have a sum greater than a given value.
You are viewing a single comment's thread. Return to all comments →
Simple digit dp problem. Constraints on M are very less. Can be upto 1 million according to my solution.