摘要: 题目链接 数的划分https://loj.ac/p/10018这个题应该是一个dfs深搜的剪枝优化问题,但是似乎用dp也能做,因此写了两个版本的题解 深搜版本 #include<bits/stdc++.h> using namespace std; const int N=100010; int a 阅读全文
posted @ 2023-05-11 19:38 du463 阅读(6) 评论(0) 推荐(0) 编辑