quant面试题: 1000只蚂蚁

来源: 雪山飞鱼 2009-07-21 10:49:03 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (175 bytes)
说有1000只蚂蚁随机的洒在一米尺上,蚂蚁开始随机的选择向左边或右边爬, 如果两只蚂蚁相遇,他们便向跟原来相反的方向爬. 假设蚂蚁的速度是 1cm/s, 那么你期望在多久之后所有蚂蚁都爬出米尺.

所有跟帖: 

100000/1001 seconds -屋漏痕- 给 屋漏痕 发送悄悄话 屋漏痕 的博客首页 (0 bytes) () 07/21/2009 postreply 12:07:55

应该是你这个答案 -haha2000- 给 haha2000 发送悄悄话 (9 bytes) () 07/21/2009 postreply 12:18:06

相遇没有关系 -haha2000- 给 haha2000 发送悄悄话 (14 bytes) () 07/21/2009 postreply 12:15:29

有问题: -botong- 给 botong 发送悄悄话 botong 的博客首页 (36 bytes) () 07/21/2009 postreply 17:15:18

You may assume the ruler is invisible to the ants. -屋漏痕- 给 屋漏痕 发送悄悄话 屋漏痕 的博客首页 (126 bytes) () 07/22/2009 postreply 05:31:28

答案是100秒,因为 -万枫- 给 万枫 发送悄悄话 万枫 的博客首页 (222 bytes) () 07/22/2009 postreply 18:32:10

我咋感到没这仫简单呀? -xyz100- 给 xyz100 发送悄悄话 xyz100 的博客首页 (84 bytes) () 07/31/2009 postreply 10:01:42

我感到100秒是一定会有至少一只出了米尺的时间 -xyz100- 给 xyz100 发送悄悄话 xyz100 的博客首页 (0 bytes) () 07/31/2009 postreply 10:07:51

12501 -wskwntei- 给 wskwntei 发送悄悄话 (0 bytes) () 07/25/2009 postreply 22:38:37

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”