回複:麵試問題請教

來源: streetwalker 2009-05-03 09:21:58 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (319 bytes)
It took me about 5 -10 mins. The answer is never. The difficult part is how to define the rate of cow eating and grass growing. I defined the total amount of grass is 1 from the begining. The daily eating rate is 1/n, and the daily growing rate is 1/x. so you get:
3/n * 3 = 1 + 3/x; 2/n *6 = 1 + 6/x; => n=6 and x=6

所有跟帖: 

It's not that simple. -rubikscube- 給 rubikscube 發送悄悄話 rubikscube 的博客首頁 (287 bytes) () 05/03/2009 postreply 13:28:07

my assumption is that a fixed size of lawn always grows the same -streetwalker- 給 streetwalker 發送悄悄話 (269 bytes) () 05/03/2009 postreply 14:58:25

My assumption is that that grass can't grow anymore -Rubikscube- 給 Rubikscube 發送悄悄話 Rubikscube 的博客首頁 (94 bytes) () 05/03/2009 postreply 15:24:54

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”