题解列表

筛选

最大配对(贪心)

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

线段的总长(枚举)

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

最大质因数

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

模拟->陶陶摘苹果题解

摘要:$$NOIP$$ $$2008$$年第一题的模拟水题!##### 思路遍历数组,当陶陶的身高$$+30$$后大于当前苹果,就将结果$$+1$$,最后输出这个答案即可(为什么$$NOIP$$普及……