这题time-consuming的原因在于除了死算没什么好办法,用人脑和用电脑在算法上几乎没区别。答案就先不说了,大家不妨继续尝试尝试。
来个更加time-consuming的:如果把区间变成[3,1000],那么就多了一组解,这组解是什么?
写了个程序跑出来了
所有跟帖:
•
回复:写了个程序跑出来了
-guest007-
♀
(338 bytes)
()
02/09/2010 postreply
07:08:25
•
Is there only one solution for [3,100]?
-endofsuburbia-
♂
(0 bytes)
()
02/09/2010 postreply
17:26:44
•
yes
-dynamic-
♂
(127 bytes)
()
02/09/2010 postreply
18:38:12
•
回复:yes
-endofsuburbia-
♂
(7 bytes)
()
02/09/2010 postreply
19:12:20
•
回复:回复:yes
-dynamic-
♂
(368 bytes)
()
02/09/2010 postreply
20:48:39
•
I see. Thx.
-endofsuburbia-
♂
(0 bytes)
()
02/09/2010 postreply
21:35:51