看板 Grad-ProbAsk 關於我們 聯絡資訊
http://imageshack.us/photo/my-images/705/infix.png/ 題目是來自 Horowitz 的 DS 第一版 , stack 那章 Exercise 11 跟 14 請教一下有版友有這題的解答嗎? 目前手邊沒答案,希望有解答的人可以幫個忙 謝謝 我的解如下 (a) postfix : A B C ** ** prefix : ** A ** B C (b) postfix : A 負號 B + C - D + prefix : + - + 負號 A B C D (c) postfix : A B 負號 ** C + prefix : + ** A - B C (d) postfix : A B + D * E F A D * + / + C + prefix : + + * + A B D / E + F * A D C (e) postfix : A B and C or E F > not or prefix : or or and A B C not > E F (f) postfix : A B C < C D > or not and not C E < or prefix : or not and A not or < B C > C D < C E -- No time to pray.... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.136.211.19 ※ 編輯: metalalive 來自: 140.136.211.19 (10/12 17:54)
ToyJKW523:**的意思是??? 10/13 14:30
ToyJKW523:除了有**的題目以外,我做出來的答案跟你一樣=) 10/13 14:31
metalalive:a**b 好像是a的b次方, 3Q! 10/15 00:30