re: 后綴表達(dá)式計(jì)算 deep2 2008-10-26 15:32
@陳梓瀚(vczh)
352×5--
等于
push 3
push 5
push 2
multiply 5*2
push 10 (5*2的結(jié)果)
push 5
sub 10-5
push 5 (10-5的結(jié)果)
sub 3-5
push -2 (3-5的結(jié)果)
return -2
@金山詞霸2008
比如:A = 3x^99 + 4x^999
B = 2x^2 + 6x^99
求 A+B