最长不下降子序列的长度(DP) 摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs…… 题解列表 2025年07月27日 0 点赞 0 评论 24 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 25 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d …… 题解列表 2025年07月26日 0 点赞 0 评论 17 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 24 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 14 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:找最大值 初始值为限制内最小值 找最小值 初始值找限制内最大值注意事项:参考代码:#include<stdio.h>int main(){ &…… 题解列表 2025年07月26日 0 点赞 0 评论 18 浏览 评分:0.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 26 浏览 评分:0.0
求平均年龄 摘要:n = int(input())#储存人数my_list = input().split()#用列表储存年龄sum = 0for i in range(len(my_list)): …… 题解列表 2025年07月26日 0 点赞 0 评论 28 浏览 评分:10.0
模拟->陶陶摘苹果题解 摘要:$$NOIP$$ $$2008$$年第一题的模拟水题!##### 思路遍历数组,当陶陶的身高$$+30$$后大于当前苹果,就将结果$$+1$$,最后输出这个答案即可(为什么$$NOIP$$普及…… 题解列表 2025年07月26日 0 点赞 0 评论 35 浏览 评分:0.0
层次递进,绝对好懂,不懂你抽我 摘要:解题思路:先拿2,3举例,2*2*2=8=3+5 3*3*3=27=7+9+11观察第一个数和最后一个数,范围在什么区间呢?13*13*13=2197=157+1…… 题解列表 2025年07月26日 1 点赞 0 评论 34 浏览 评分:10.0