re: 后綴表達式計算 deep2 2008-10-26 15:32
@陳梓瀚(vczh)
352×5--
等于
push 3
push 5
push 2
multiply 5*2
push 10 (5*2的結果)
push 5
sub 10-5
push 5 (10-5的結果)
sub 3-5
push -2 (3-5的結果)
return -2
re: 稀疏多項式的實現 deep2 2008-10-25 17:14
@金山詞霸2008
比如:A = 3x^99 + 4x^999
B = 2x^2 + 6x^99
求 A+B