两个不同的条件: 1)考虑不同人的区别; 2)对所有人一视同仁。
1)考虑不同人的区别;
回复:N^n
对!谢谢!每个人都可选N个房中的任何一个,n个人就有N^n住法。
2)对所有人一视同仁。
回复:C(N+n-1,n)
对!此题有点挑战性。请解释下您的答案:C(N+n-1,n)
Blue too busy, I try...
Thanks for your try..., but hard to follow
解释:|OOO|OOOOOOOOOO|O||OOOOO|.....|OOO|||O|OOOOOOOOO|O|
回复:解释:|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).
I'm sorry,I think n=N,at first.
sorry, not smart enough.
回复:sorry, not smart enough.
should be 1111---41,43,34,14 .
it seems i have understood you. you may have solved the problem
皆兄弟也
2010-06-14 08:57:201)考虑不同人的区别;