If so, you are not able to get it
所在版块:求学狮城 发贴时间:2003-02-12 20:08

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
Even if to compute all set with only two elements, your algorithm is not able to get it.
24 = 2^3*3, by your formula, the number of sets are 4*2-1 = 7. In fact, it is {24}, {2, 12}, {3, 8}, {4, 6}, which is only 4.
:)

I am not going to pointing your mistake here. Anyway, read the question carefully.

I do not think this question is able to be solved by permutation and combination formula. Indeed, it is hard to solve it. In programming, we also consider complexity of an algorithm. Another bottleneck to this problem is that there may be about 1000,000 number to compute. Then how?
Think about it...
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

*签名档字数限制在200以内。
 相关帖子 我要回复↙ ↗回到正文
CS1102 Lab2a, Qn3, Qn4-答重生 duck   (1169 bytes , 1428reads )
有没有好的方法解决time问题? 原著   (112 bytes , 269reads )
迟些时候吧 duck   (53 bytes , 224reads )
好,谢谢!^_^ 原著   (0 bytes , 213reads )
太神奇了!多谢了。不然还不知道要想多久 我的牛逼   (0 bytes , 230reads )
我这个帖子申请置顶一周,到下周二放下去 duck   (0 bytes , 206reads )
哇,当TA好了不起呀! 我想我是海   (119 bytes , 280reads )
solution to that "difficult question" 花露水   (708 bytes , 417reads )
this way, most possibly, will get time out" error. Climbing   (0 bytes , 238reads )
aiya 花露水   (102 bytes , 309reads )
If so, you are not able to get it duck   (605 bytes , 334reads )
qie~~ 花露水   (102 bytes , 369reads )
btw 花露水   (105 bytes , 271reads )
哈哈,我Forward我组的人这个post了 Climbing   (0 bytes , 228reads )
太过分了吧!!! duck   (134 bytes , 261reads )
争斗的后面 mean   (29 bytes , 237reads )
偶是forward这个LINK呀,你,不要激动嘛 Climbing   (0 bytes , 200reads )
~ 没落书童   (0 bytes , 202reads )