随笔分类 - POJ Solutions
Solutions to problems on http://poj.org/problemlist.
摘要:This problem can be solved elegantly using dynamic programming.We maintain two arrays:cnt[i][j] --- number of parentheses needed to add within s[i..j]...
阅读全文