M 2
因为 C =N!/[(N-M)!*M!] 如C =3!/[(3-2)!*2!]=3*2*1/[(1)*2*1]=6/2=3
N 3
1 2 1 2 1 2
C C *C C *C C =(3*15)*(2*6)*(1*1)=45*12=540
3 6 2 4 1 2
M 2
因为 C =N!/[(N-M)!*M!] 如C =3!/[(3-2)!*2!]=3*2*1/[(1)*2*1]=6/2=3
N 3
1 2 1 2 1 2
C C *C C *C C =(3*15)*(2*6)*(1*1)=45*12=540
3 6 2 4 1 2