2025/7/25刷题记录 摘要:解题思路:两个整数相除得浮点数结果要将其中一个数强转为浮点要不然会精度丢失注意事项:参考代码:#include<stdio.h>int main(){ int a…… 题解列表 2025年07月25日 0 点赞 0 评论 297 浏览 评分:0.0
模拟->陶陶摘苹果题解 摘要:$$NOIP$$ $$2008$$年第一题的模拟水题!##### 思路遍历数组,当陶陶的身高$$+30$$后大于当前苹果,就将结果$$+1$$,最后输出这个答案即可(为什么$$NOIP$$普及…… 题解列表 2025年07月26日 0 点赞 0 评论 265 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 1 点赞 0 评论 237 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:找最大值 初始值为限制内最小值 找最小值 初始值找限制内最大值注意事项:参考代码:#include<stdio.h>int main(){ &…… 题解列表 2025年07月26日 0 点赞 0 评论 185 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 182 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 173 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d …… 题解列表 2025年07月26日 1 点赞 0 评论 176 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 204 浏览 评分:0.0
最长不下降子序列的长度(DP) 摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs…… 题解列表 2025年07月27日 0 点赞 0 评论 152 浏览 评分:0.0
最长公共子序列lcs(DP) 摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs…… 题解列表 2025年07月27日 0 点赞 0 评论 156 浏览 评分:0.0