看板 Grad-ProbAsk 關於我們 聯絡資訊
77+54 最後面兩bit都有近位可是明明就overflow了耶 http://goo.gl/SvPAZ -- When we toss a coin , we obtain either head or tail. Now we toss a coin 5 times. There are 2^5 possible outcomes. How many of them contain no two consecutive heads? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.70.50.212
JiDung:那不是77 那是負的@@ 01/04 17:32
JiDung:7bit的 有號數 不會有77這數字 01/04 17:33
JiDung:所以你那樣寫是 -51 + 54 = 3 01/04 17:34
bjk:3QQ 01/04 23:19