众数问题(极简模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;co…… 题解列表 2025年01月21日 1 点赞 0 评论 219 浏览 评分:10.0
2006(c语言包看懂得) 摘要:解题思路:干就行了注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n%2!=…… 题解列表 2025年01月22日 0 点赞 0 评论 159 浏览 评分:10.0
C语言完数注释题解 摘要:- 注意: - 求N以内的完数,非单个数是否为完数 ```#include int main(){ int sum=0,n,i,j=6; scanf("%d",&n);…… 题解列表 2025年01月22日 2 点赞 0 评论 771 浏览 评分:10.0
递归O(nlogn) 摘要:解题思路:其实我们研究的对象是兔子的末状态,所以不必把兔子移动过程展现出来。选用指针来表示兔子的移动方向,首先先确定两只“双向奔赴"兔子的位置,单向奔赴兔子的末位置与指向的兔子一样,用深搜扫…… 题解列表 2025年01月23日 7 点赞 0 评论 1351 浏览 评分:10.0
1998: 提成计算(c语言) 摘要:解题思路:if else解题就行注意事项:最后条件一定要加 else if(x>400000)不加不过参考代码:#include <stdi…… 题解列表 2025年01月23日 1 点赞 0 评论 275 浏览 评分:10.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 6 点赞 0 评论 942 浏览 评分:10.0
2012: 百分制成绩转换(c语言简易) 摘要:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[100]; int n,i; int A=0,B=0,C…… 题解列表 2025年01月25日 1 点赞 0 评论 184 浏览 评分:10.0
2013: 一元n次方程(C语言简单解法,包看懂的) 摘要:思路:把第一位,中间部分,最后一位分成三部分每一部分都有a[i]的5种情况:>1 =1 =0(不用写出来)…… 题解列表 2025年01月25日 1 点赞 0 评论 184 浏览 评分:10.0
题解 2828: 与7无关的数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=0; scanf("%…… 题解列表 2025年01月26日 0 点赞 0 评论 219 浏览 评分:10.0