Bessie的体重问题(01背包) 摘要:解题思路:01背包注意事项:测试数据有误, hack AC参考代码:#include<bits/stdc++.h>usingnamespacestd;c…… 题解列表 2025年08月01日 0 点赞 0 评论 37 浏览 评分:0.0
木瓜地(BFS) 摘要:解题思路:广搜注意事项:第一次到达(n,m)即停止参考代码:#include<bits/stdc++.h>usingnamespacestd;const&n…… 题解列表 2025年08月01日 0 点赞 0 评论 21 浏览 评分:0.0
2025/8/1刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月01日 0 点赞 0 评论 24 浏览 评分:0.0
判断奇偶(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年08月01日 0 点赞 0 评论 28 浏览 评分:0.0
外星人的密码数字(dp) 摘要:解题思路:dp注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;//定义常量N作为dp数…… 题解列表 2025年08月01日 0 点赞 0 评论 28 浏览 评分:0.0
编写题解 1739: 成绩排序(注释清晰,简单易懂) 摘要: #include #include // 定义学生结构体 typedef struct stu { char name[101]; int age; int …… 题解列表 2025年08月01日 0 点赞 0 评论 41 浏览 评分:0.0
2025/7/31刷题记录 摘要:解题思路:sum记录连续的次数 max记录最大连续次数 如果不符合时sum清零但是max记录了最大的sum清零也无所谓注意事项:参考代码:#include<stdio.h>int main…… 题解列表 2025年07月31日 0 点赞 0 评论 33 浏览 评分:0.0
2025/7/31刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum,n,num; scanf(&qu…… 题解列表 2025年07月31日 0 点赞 0 评论 34 浏览 评分:0.0
2025/7/31刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ //每个月剩余的钱 int shengyu=0;…… 题解列表 2025年07月31日 0 点赞 0 评论 41 浏览 评分:0.0
2025/7/31刷题记录 摘要:解题思路:注意事项:递归要满足有明显的结束条件 有要趋于结束条件的趋势参考代码:#include<stdio.h>void avgerage(int num){ …… 题解列表 2025年07月31日 0 点赞 0 评论 39 浏览 评分:0.0