摘要:
链接:https://www.luogu.com.cn/problem/P1077 代码如下: #include <bits/stdc++.h> using namespace std; typedef long long int LL; int n,m,kind[110],MOD=1000007, 阅读全文
摘要:
链接:https://www.luogu.com.cn/problem/P1057 寒假偷懒好久了忘光光了(虽然没忘也不会) 一开始想不到怎么DP,用的DFS,结果30次递归直接十亿次操作TLE了 #include <bits/stdc++.h> using namespace std; typed 阅读全文