【HDU - 6299】Balanced Sequence (贪心)
Chiaki hasnnstringss1,s2,…,sns1,s2,…,snconsisting of '(' and ')'. A string of this type is said to be balanced:
+ if it is the empty string
+ ifAAandBBare balanced,ABABis balanced,
+ ifA...
原创
2019-06-29 20:34:32 ·
202 阅读 ·
0 评论