题解列表

筛选

最大配对(贪心)

摘要:解题思路:贪心注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint……

公交汽车(完全背包)

摘要:解题思路:完全背包注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&nbs……

2025/7/30刷题记录

摘要:解题思路:注意事项:浮点数==浮点数判断会有精度损失所以最后将这个判断放在else中参考代码:#include<stdio.h>#include<math.h>int main……

2025/7/30刷题记录

摘要:解题思路:注意事项:ceil向上取整 最后结果取整参考代码:#include<stdio.h>#include<math.h>int main(){ ……