[中譯] Puzzleup 2014 (1) Code Game

作者: LPH66 (-6.2598534e+18f)   2014-07-30 22:44:26
一年一度的 Puzzleup 今天開始~
有關規定可以爬文,主要重點是請避免在公開地方講答案
題目網址: http://www.puzzleup.com/2014/
http://www.puzzleup.com/2014/puzzle/?240
答題時限: 7月31日7PM-比賽結束(約12月17日)
加分時限: 7月31日7PM-8月6日6:59PM
答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。 
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分       
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)  
◆Code Game
There is a text consisting of only the letters A, and B. You are going to
play a game with your friend. Without seeing the text, you and your friend
both will choose a three-letter code. The one whose code appears first will
be the winner.
If your friend chooses the code ABA, what should your code be in order to
maximize your probability to win the game?
Notes:
* A and B have the same probability to exist anywhere in the text.
* All possible three-letter codes that can be created with A and B are
included in the text.
* There are no blanks between the letters.
有一段文字只含字母 A 跟 B。
你跟朋友玩這麼一個遊戲:在不看這段文字的前提之下,你們各自提出一個三字母組。
在此段文字中誰的三字母先出現誰就贏了。
若你的朋友選擇 ABA,則你選擇哪個三字母組贏的機率最高?
註:
* 此段文字中 A 跟 B 的出現機率相等。
* 所有可能的三字母組合都會在此段文字中出現。
* 此段文字中字母之間沒有空白。
作者: werul (好閒..)   2014-07-30 23:07:00
好莫名其妙的題目XD
作者: physbook (路克)   2014-07-30 23:46:00
暖身題!
作者: newacc (XD)   2014-07-31 01:57:00
感覺好像有看過丟硬幣的版本XD
作者: dreamoon (千古悲情人物)   2014-07-31 02:32:00
水泥
作者: puzzlez (帕索最帥!)   2014-07-31 21:23:00
XDDDDDDDDDDDDDDDDD
作者: werul (好閒..)   2014-07-31 23:12:00
有種好久不見樓上的感覺
作者: babufong (嗶嗶)   2014-08-01 00:52:00
葛老爹某本有 撒旦跟商人對賭
作者: kirimaru73 (霧丸)   2014-09-05 18:10:00
海珊:這個簡單啦,八種機率理論上都是一樣(ry

Links booklink

Contact Us: admin [ a t ] ucptt.com