1017:完数的判断-C语言 摘要:解题思路:注意事项:参考代码:int isRight(int n){ int sum=0; int i; for(i=1;…… 题解列表 2025年10月23日 0 点赞 0 评论 339 浏览 评分:0.0
蠢猪级解法 摘要:解题思路:模拟长除法注意事项:参考代码:#include<iostream>using namespace std;int main(){ char n[256]; while (cin …… 题解列表 2025年10月23日 1 点赞 1 评论 97 浏览 评分:0.0
1027:自定义函数处理最大公约数与最小公倍数-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ int temp; whil…… 题解列表 2025年10月23日 1 点赞 0 评论 161 浏览 评分:10.0
3133:函数重载-多个数字相加-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int add_two(int a,int b){ return(a+b);}int add_th…… 题解列表 2025年10月23日 0 点赞 0 评论 79 浏览 评分:0.0
1028:自定义函数求一元二次方程的解 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<stdio.h>float x1,x2;int main(){ voi…… 题解列表 2025年10月23日 1 点赞 0 评论 231 浏览 评分:10.0
老管家的忠诚2(线段树) 摘要:解题思路: 代码分为线段树构建(build_tree)、区间查询(query)、单点更新(update)和主函数(main)四部分注意事项:参考代码:#include<bits/stdc++.h…… 题解列表 2025年10月22日 0 点赞 0 评论 88 浏览 评分:0.0
###母牛的故事递归 摘要:#include<stdio.h>int fun(int n){ if(n<=3)return n; else &nb…… 题解列表 2025年10月22日 2 点赞 0 评论 531 浏览 评分:0.0
编写题解 2811: 救援 摘要:#include <bits/stdc++.h>using namespace std;int main() { int n, s; d…… 题解列表 2025年10月22日 0 点赞 0 评论 96 浏览 评分:0.0
2808: 买房子 摘要:#include <bits/stdc++.h>using namespace std;int main(){ double y=200; …… 题解列表 2025年10月22日 0 点赞 0 评论 109 浏览 评分:0.0
2829:数1的个数 摘要:解题思路:注意事项:参考代码:int main(){ int num,count=0,i,n; scanf("%d",&…… 题解列表 2025年10月22日 0 点赞 0 评论 113 浏览 评分:0.0