摘要:模拟题目,先把P转换成 字符串 ,然后在求 Wq By an integer sequence P = p1 p2...pn where pi is the number of left parentheses before the ith right parenthesis in S (P-sequence).q By an integer sequence W = w1 w2...wn where for each right parenthesis, say a in S, we associate an integer which is the number of right pare
阅读全文
posted @ 2011-11-07 19:43
浙公网安备 33010602011771号