题目 2808: 买房子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N, K; double house_…… 题解列表 2025年08月06日 0 点赞 0 评论 147 浏览 评分:0.0
悠闲的漫步(DFS) 摘要:解题思路:树的表示:使用邻接表tree[N]存储树结构,tree[p]包含节点p的所有子节点。根节点查找:通过nop数组标记有父节点的节点,未被标记的节点即为根节点。深度计算:从根节点开始,通过 DF…… 题解列表 2025年08月06日 0 点赞 0 评论 171 浏览 评分:0.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; long long int sum…… 题解列表 2025年08月06日 0 点赞 0 评论 172 浏览 评分:0.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月06日 0 点赞 0 评论 201 浏览 评分:0.0
2025/8/6刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,d; char c;…… 题解列表 2025年08月06日 0 点赞 0 评论 163 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月07日 0 点赞 0 评论 111 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b,m; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 144 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; int arr[10];&nb…… 题解列表 2025年08月07日 1 点赞 0 评论 169 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double arr[]={28.9,32.7,45.6,78,35,8…… 题解列表 2025年08月07日 0 点赞 0 评论 140 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b,m; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 101 浏览 评分:0.0