Saturday, May 11, 2013

project euler problem 164

Numbers for which no three consecutive digits have a sum greater than a given value

This is a simple problem.  No tricks in this problem. Use simple dynamic programming, it is solved. Less than 20 ms. 

No comments:

Post a Comment