Puzzleup 2021 成績出爐 - 拼圖
By Ophelia
at 2021-11-20T16:27
at 2021-11-20T16:27
Table of Contents
推 haman: 請問第10題的算法... 謝謝 11/20 13:35
第十題是醉漢走路 可參考這篇中文文章 https://reurl.cc/Q6oo75
知醉漢左走L步進水溝,右走R步進水溝
左右走機率1/2的情形下
期望值L*R步會踏入水溝中
轉成飛鏢問題
前兩鏢必定命中兩個新區域
此時下一個新區域為1步,反方向的新區域為(3-1)步
故期望值需2鏢
再下一個新區域又為1步,反方向的新區域為(4-1)步
故期望值需3鏢
依此類推
.
.
.
區域數 飛鏢數期望值 總合
1 1 1
2 1 2
3 2 4
4 3 7
5 4 11
6 5 16
7 6 22
8 7 29
9 8 37
10 9 46
11 10 56
12 11 67
13 12 79
14 13 92
15 14 106
16 15 121
17 16 137
18 17 154
19 18 172
20 19 191
191即為答案
--
Tags:
拼圖
All Comments
By Ula
at 2021-11-25T04:16
at 2021-11-25T04:16
By Zanna
at 2021-11-29T16:04
at 2021-11-29T16:04
Related Posts
Puzzleup 2021 成績出爐
By George
at 2021-11-17T17:44
at 2021-11-17T17:44
問題求解
By Robert
at 2021-11-11T01:42
at 2021-11-11T01:42
Pintoo黃金會員
By Thomas
at 2021-11-06T14:35
at 2021-11-06T14:35
Puzzleup 2021 (10) DART GAME
By Edith
at 2021-11-03T21:11
at 2021-11-03T21:11
Puzzleup 2021 (9) TWO FAKE COINS
By Daph Bay
at 2021-10-27T19:17
at 2021-10-27T19:17