看板 Grad-ProbAsk 關於我們 聯絡資訊
第五題 Represent the expression (a+b)*5-(c-d)/5 using infix notation respectively. 為什麼解答是寫 a+b*5-c-d/5 想不通... 請大大幫個忙吧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 1.175.134.213
qqoil:題目本身就中序了不是 不然就畫畫二元樹解吧 12/16 21:54
AM101:不用加括號嗎? 這樣算起來不是不一樣嗎? 12/16 21:56
AM101:所以是畫完二元樹後再做inorder的意思嗎? 12/16 21:58
qqoil:恩恩 中序式只能用來表示 不能直接算 12/16 21:59
AM101:了解! 感恩! 12/16 22:00