在数组中找到两个数相加等于给定的数 摘要:解题思路:注意事项:注意避免数对是两个相同的数参考代码:#include<stdio.h>int main(){ long long n; scanf("%lld",&…… 题解列表 2025年11月17日 0 点赞 0 评论 161 浏览 评分:0.0
有注析,还是比较好理解的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n;double fact(int k);double sum_of = 1.0; // 初始化为1,包…… 题解列表 2025年11月18日 0 点赞 0 评论 187 浏览 评分:0.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int …… 题解列表 2025年11月18日 0 点赞 0 评论 175 浏览 评分:0.0
蓝桥杯2025年第十六届省赛真题-红黑树 摘要:解题思路: 本题利用递归的方法可以解决,而且代码简洁 根据每一行输入的节点位置(n,k)可以向上找到其父节点的位置为(n-…… 题解列表 2025年11月19日 1 点赞 0 评论 347 浏览 评分:0.0
只要理解了循环,小白也能看懂! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i; scanf("%d",&N); for(i=0;i&l…… 题解列表 2025年11月19日 0 点赞 0 评论 214 浏览 评分:0.0
超级简单,一看就会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n[10]; for(int i=0;i<10;i++){ …… 题解列表 2025年11月19日 1 点赞 0 评论 395 浏览 评分:0.0
会素数的女孩不会输 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int isprime(int x){ if(x<=1){ return…… 题解列表 2025年11月19日 0 点赞 0 评论 186 浏览 评分:0.0
Py2848-基因相关性 摘要:n=float(input())DNA1=input()DNA2=input()DNA3=(…… 题解列表 2025年11月19日 1 点赞 0 评论 196 浏览 评分:0.0
酷酷酷酷酷酷酷酷酷 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double num[10]; int minindex…… 题解列表 2025年11月19日 0 点赞 0 评论 167 浏览 评分:0.0
啦啦啦啦啦啦 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ double result=1; for(int i=1;i<=n;i++){…… 题解列表 2025年11月19日 0 点赞 0 评论 228 浏览 评分:0.0