题解列表
公交汽车(完全背包)
摘要:解题思路:完全背包注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&nbs……
[NOIP2001]装箱问题(01背包)
摘要:解题思路:dp(01背包)注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint……
线段的总长(排序后计算优化)
摘要:解题思路:O(nlogn)注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint……
阶乘末尾的K位(高精度)
摘要:解题思路:高精度注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint ……
最长公共子序列lcs(DP)
摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs……