题目 2808: 买房子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N, K; double house_…… 题解列表 2025年08月06日 0 点赞 0 评论 58 浏览 评分:0.0
没有上司的晚会(树形DP) 摘要:解题思路:树形DP问题转化:将 "选择不相邻节点以获得最大价值" 的问题,转化为每个节点的两种状态决策选当前节点:则不能选任何子节点…… 题解列表 2025年08月06日 1 点赞 0 评论 88 浏览 评分:0.0
悠闲的漫步(DFS) 摘要:解题思路:树的表示:使用邻接表tree[N]存储树结构,tree[p]包含节点p的所有子节点。根节点查找:通过nop数组标记有父节点的节点,未被标记的节点即为根节点。深度计算:从根节点开始,通过 DF…… 题解列表 2025年08月06日 0 点赞 0 评论 101 浏览 评分:0.0
编写题解 1075: 台球碰撞(注释清晰 简单易懂) 摘要: #include #include #define PI 3.141592653589793 int main() { double L, W, x, y, R, a, v, …… 题解列表 2025年08月06日 0 点赞 0 评论 132 浏览 评分:10.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; long long int sum…… 题解列表 2025年08月06日 0 点赞 0 评论 120 浏览 评分:0.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月06日 0 点赞 0 评论 144 浏览 评分:0.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,d; char c;…… 题解列表 2025年08月06日 0 点赞 0 评论 111 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月07日 0 点赞 0 评论 50 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b,m; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 51 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; int arr[10];&nb…… 题解列表 2025年08月07日 1 点赞 0 评论 59 浏览 评分:0.0