08 2020 档案

摘要:分析: #include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long LL; const int N = 100010; int row[N], col[N], s[N 阅读全文
posted @ 2020-08-21 21:54 龙雪可可 阅读(51) 评论(0) 推荐(0) 编辑
摘要:2003 数字游戏 阅读全文
posted @ 2020-08-10 20:27 龙雪可可 阅读(58) 评论(0) 推荐(0) 编辑
摘要:求一个括号序列的合法子串个数 dp[i]表示以i结尾的合法的括号序列个数 维护一个栈,左括号push他的位置到栈中,右括号取出栈顶 dp[i] = dp[sta[top] - 1] + 1 然后对dp数组求和 int sta[MAXN * 10], top, ans[MAXN * 10]; ll A 阅读全文
posted @ 2020-08-08 10:42 龙雪可可 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-07 21:32 龙雪可可 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-07 19:14 龙雪可可 阅读(77) 评论(0) 推荐(0) 编辑

****************************************** 页脚Html代码 ******************************************
点击右上角即可分享
微信分享提示