作者LPH66 (1597463007)
看板puzzle
标题[中译] Puzzleup 2014 (17) Coin Game
时间Wed Nov 19 21:24:36 2014
题目网址:
http://www.puzzleup.com/2014/
http://www.puzzleup.com/2014/puzzle/?258
答题时限: 11月20日7PM-比赛结束(约12月17日)
加分时限: 11月20日7PM-11月26日6:59PM
答对可得基本分100分。答案可上传5次,每改1次答案从基本分扣20分。
比赛期间内可随时上传答案,加分时限内答对第n天加(6-n)分
另依题目的难易有额外加分(如有80%的人这题答错,答对者加80分)
◆Coin Game
You will play a game by tossing a fair coin 9 times. Whenever a sequence of
two heads following a tail (…THH…) is obtained you will get 1 point.
(Maximum point for a game is therefore 3). If you play this game many times
what will be the average of your points?
Note:If needed, use three digits after the decimal point.
你将进行一个掷一公平硬币九次的游戏。
每当在一次反面後出现连续两次正面时 (…反正正…),你便获得一分。
(因此每次游戏的最高分数为三分。)
若你进行此游戏许多次,你的平均得分是多少?
注:若有需要,小数点後须补齐三位数。
--
最後一句我也觉得很怪,为此我已经先解完了……
只能说这句话有点欲盖弥彰 (望)
不过它倒是给了一个重要的讯息就是答案要用小数输入就是
--
LPH [acronym]
= Let Program Heal us
-- New Uncyclopedian Dictionary, Minmei Publishing Co.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 123.195.39.85
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/puzzle/M.1416403480.A.CC3.html