24h購物| | PChome| 登入
與好友分享這篇文章

[UVA][Math] 545 - Heads

 Heads The probability of n heads in a row tossing a fair coin is 2-n Input The first line of the input contains an integer r. Then r lines containing each one an integer number n. The valueof n is as follows:.Output  Print r lines each with the value of 2-n f...

新聞台: Morris' Blog | 台長:Morris
收件者E-mail:

請以分號區隔每個E-mail
例如:john@pchome.com.tw;mary@pchome.com.tw
信件標題:
與你分享這篇文章
訊息內容:
很精采的好文章!
如果你也喜歡,請轉寄給好友幫忙增加人氣吧!
您的名字:
Morris
TOP