Non-bouncy numbers
I did not think about the problem and directly go to computer for help. The problem is simple, which can be solved by dynamic programming. But after I read the discussion, I suddenly realize that this problem can be solved analytically.
Think more about this problem before coding!
No comments:
Post a Comment