
每日一题
H_ang
记录一些东西吧!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
每日一题 3月27日 数学考试 线性DP
题目链接:https://ac.nowcoder.com/acm/problem/15553 #include <bits/stdc++.h> using namespace std; #define LL long long LL a[200005], f[200005]; int main(){ int t; scanf("%d", &t); w...原创 2020-03-26 13:52:06 · 238 阅读 · 0 评论 -
每日一题 3月25日 tokitsukaze and Soldier 优先队列
tenhRZhpvq原创 2020-03-24 22:20:24 · 214 阅读 · 0 评论 -
每日一题 3月26日 合并回文子串 区间DP
题目链接:https://ac.nowcoder.com/acm/problem/13230 思路:我们用f[l1][r1][l2][r2]:表示A[l1]A[r1]和B[l2]B[r2]是否能合并成一个回文串。 考虑转移:因为顺序是不能改变的。所以只有这4个可能的转移。 #include <bits/stdc++.h> using namespace std; #define ...原创 2020-03-25 16:18:03 · 299 阅读 · 0 评论