string1 has ends a1,a2, string2 has b1 b2; burn a1,a2,b1 when string1 burns out, that moment is 30 mins; start to burn b2 at this moment, it would take another 15mins, totaly it takes 45 mins to burn out both strings.

rootbear (啤酒晕头)
(#373537@0)
2002-2-19 -05:00

回到话题: 刚才看新浪新闻,看见一条微软招聘的几道经典考题, 有些意思, 想看看大家怎么答.并附上我的答案.

回到论坛: HOME枫下论坛枫下论坛主坛加国之约移民留学申请

URL:   
http://www.rolia.net/zh/post.php?f=0&p=373537