m people and n rooms also right,C(m+n-1,n).
回複:解釋:|OOO|OOOOOOOOOO|O||OOOOO|.....|OOO|||O|OOOOOOOOO|O|
所有跟帖:
• m people and n rooms: C(m+n-1,m), instead of C(m+n-1,n). -皆兄弟也- ♂ (28 bytes) () 06/17/2010 postreply 10:00:40
• I'm sorry,I think n=N,at first. -jinjing- ♀ (0 bytes) () 06/17/2010 postreply 15:08:21