Don't count the way beyond the point. Actually,
The statement should be:
Given a point p between 0 and s = a_1+a_2+...a_n, it
has at most (n-1)! + 1 ways to reach
Sorry for any confusion.
回複:有點問題吧
所有跟帖:
• 回複:回複:有點問題吧 -dynamic- ♂ (79 bytes) () 07/27/2009 postreply 18:12:36
• 回複:回複:回複:有點問題吧 -botong- ♂ (91 bytes) () 07/28/2009 postreply 10:22:54