推 youmehim:4C2 * 6C2 * 4C2 * 2! + 4 * 6C3 * 3! 07/21 17:18
In how many ways can we give 6 differernt gifts to 4
students and each of them get at least one gift.
4 3 4 4
ans:4^6-{C *[3^6-C *2^6]+C *[2^6-2]+C *1}
3 2 2 1
應該還有別的方式解,不過就是想不出來..
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.18.104.235