看板 MATLAB 關於我們 聯絡資訊
coinOld = rand() < 0.5; coinNew = rand() < 0.5; count = 2; while xor(coinOld, coinNew) coinOld = coinNew; coinNew = rand() < 0.5; count = count + 1; end -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.249.49.32
w550ibi0103:感謝解答~感恩 10/26 11:23