公交汽车(完全背包) 摘要:解题思路:完全背包注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&nbs…… 题解列表 2025年07月30日 0 点赞 0 评论 204 浏览 评分:0.0
[NOIP2001]装箱问题(01背包) 摘要:解题思路:dp(01背包)注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint…… 题解列表 2025年07月30日 0 点赞 0 评论 168 浏览 评分:0.0
冗余关系(并查集) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&…… 题解列表 2025年07月29日 0 点赞 0 评论 198 浏览 评分:0.0
最大配对(贪心) 摘要:解题思路:贪心注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint…… 题解列表 2025年07月29日 0 点赞 0 评论 324 浏览 评分:0.0
线段的总长(排序后计算优化) 摘要:解题思路:O(nlogn)注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint…… 题解列表 2025年07月29日 0 点赞 0 评论 284 浏览 评分:0.0
线段的总长(枚举) 摘要:解题思路:暴力注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint…… 题解列表 2025年07月29日 0 点赞 0 评论 237 浏览 评分:0.0
阶乘末尾的K位(高精度) 摘要:解题思路:高精度注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint …… 题解列表 2025年07月29日 0 点赞 0 评论 219 浏览 评分:0.0
最大质因数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intfac(int…… 题解列表 2025年07月29日 1 点赞 0 评论 242 浏览 评分:0.0
最长公共子序列lcs(DP) 摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs…… 题解列表 2025年07月27日 0 点赞 0 评论 222 浏览 评分:0.0
最长不下降子序列的长度(DP) 摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs…… 题解列表 2025年07月27日 0 点赞 0 评论 195 浏览 评分:0.0