摘要: 补题 codeforces 918C 题意 给定一个含有通配符 和`()`的字符串,问有多少子串是括号匹配的 解题思路 首先考虑不用栈求括号匹配的方法: c++ bool solve(char s) { int top=0; for (int i=0;i using namespace std; c 阅读全文
posted @ 2018-01-31 20:58 阿瓦隆的精灵 阅读(181) 评论(0) 推荐(0) 编辑