题解列表
[NOIP2001]装箱问题(01背包)
摘要:解题思路:dp(01背包)注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint……
公交汽车(完全背包)
摘要:解题思路:完全背包注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&nbs……
编写题解 3326: 蓝桥杯2025年第十六届省赛真题-最短距离(注释清晰,简单易懂)
摘要:解题思路:对显示器坐标a[]和插座坐标b[]排序后,按顺序配对(第i个显示器连第……
小白python系列-黄金分割
摘要:解题思路:无注意事项:无参考代码:a=int(input())if a>=20: print("0.61803399")else: &nb……
小白python系列-第一个HelloWorld程序
摘要:解题思路:第一个HelloWorld程序参考代码:print("**************************")print("Hello World!"……
找啊找啊找GF(二维01背包)
摘要:解题思路:二维01背包注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constint&n……
2025/7/30刷题记录
摘要:解题思路:注意事项:浮点数==浮点数判断会有精度损失所以最后将这个判断放在else中参考代码:#include<stdio.h>#include<math.h>int main……
2025/7/30刷题记录
摘要:解题思路:注意事项:ceil向上取整 最后结果取整参考代码:#include<stdio.h>#include<math.h>int main(){ ……