【HDU5357】Easy Sequence 题解(栈的应用)
摘要:新博客:debug18.com使用hexo搭建,欢迎来踩~传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5357题目大意:给你一个括号序列(不保证合法),求对于每个字符,包含这个字符的合法括号序列的总方案数。容易发现,对于一个匹配的括号“(...)”,其...
阅读全文
posted @ 2015-08-10 14:14
posted @ 2015-08-10 14:14
posted @ 2015-08-09 21:23
posted @ 2015-07-22 21:01