ProjectEuler 469 Empty chairs - 拼圖
By Lucy
at 2014-04-27T02:55
at 2014-04-27T02:55
Table of Contents
469. Empty chairs
http://projecteuler.net/problem=469
房間裡有個圓桌,周圍有 N 張椅子。
騎士們依序進來並隨機坐在其中一個椅子上。
為了使得手肘有伸展的空間,騎士們會在彼此之間留下至少一個空椅子。
當已經沒有任何人可以入座後,檢視此時空椅子佔的比例 C。
令 E(N) 表示 C 的期望值。
給定 E(4) = 1/2, E(6) = 5/9,求 E(10^18)。將答案四捨五入至小數第十四位。
--
'You've sort of made up for it tonight,' said Harry. 'Getting the
sword. Finishing the Horcrux. Saving my life.'
'That makes me sound a lot cooler then I was,' Ron mumbled.
'Stuff like that always sounds cooler then it really was,' said
Harry. 'I've been trying to tell you that for years.'
-- Harry Potter and the Deathly Hollows, P.308
--
Tags:
拼圖
All Comments
By Heather
at 2014-04-28T18:18
at 2014-04-28T18:18
By Zora
at 2014-04-30T14:57
at 2014-04-30T14:57
By Elizabeth
at 2014-05-04T20:43
at 2014-05-04T20:43
By Poppy
at 2014-05-06T04:15
at 2014-05-06T04:15
Related Posts
ProjectEuler 468 Smooth divisors of bi
By Linda
at 2014-04-25T02:59
at 2014-04-25T02:59
一千隻真假話小精靈
By Oliver
at 2014-04-24T11:27
at 2014-04-24T11:27
拼拼圖的地點推薦(台中)
By Genevieve
at 2014-04-21T23:26
at 2014-04-21T23:26
捷運附近比較推的裱框店家
By Belly
at 2014-04-19T18:40
at 2014-04-19T18:40
台北/拼出奇跡拼圖比賽
By Doris
at 2014-04-18T23:37
at 2014-04-18T23:37