似乎是简单的排列组合问题,但我的算法怎么都对不上啊。可能取决与定义

回答: 这条GRE的题,谁懂得做?wxcfgh852014-11-15 12:36:58

2 persons: 10*9=90
3 persons: 10*9*8=720
4 persons: 10*9*8*7=5040

total=10*9+10*9*8+10*9*8*7=90+720+5040=5850

but if you disregard the sequence, then it would be like below

2 persons: 10*9/2=45
3 persons: 10*9*8/(3*2)=120
4 persons: 10*9*8*7/(4*3*2)=210
total=45+120+210=375

所有跟帖: 

你做对了 -bearsback- 给 bearsback 发送悄悄话 bearsback 的博客首页 (104 bytes) () 11/15/2014 postreply 16:02:25

请您先登陆,再发跟帖!