加载中...

摘要: ##https://ac.nowcoder.com/acm/contest/33187/K 给出子串和母串长度 求母串的可能性 #include <iostream> #include <cstring> using namespace std; using i64 = long long; con 阅读全文
posted @ 2022-07-23 18:40 liang302 阅读(35) 评论(0) 推荐(0)
摘要: ##大盗阿福https://www.acwing.com/problem/content/1051/ f[i][0]表示不偷第i家的最大费用 两个状态 偷这家+不偷这家+ #include <iostream> #include <cstring> #include <algorithm> usin 阅读全文
posted @ 2022-07-23 17:32 liang302 阅读(20) 评论(0) 推荐(0)