很新手的解题,想到什么就写什么,你绝对能看懂 摘要:解题思路:把输入的数的各个位数依次取出来存在数组里,再取出来组成反转的数注意事项:参考代码:#include<stdio.h>#include<math.h>int…… 题解列表 2025年01月23日 0 点赞 0 评论 201 浏览 评分:0.0
题解 1986: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,a,b; scanf("%d&…… 题解列表 2025年01月23日 0 点赞 0 评论 278 浏览 评分:0.0
题解 1981: 输出M到N的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,n; scanf("%d%d&…… 题解列表 2025年01月23日 0 点赞 0 评论 345 浏览 评分:0.0
1004: [递归]母牛的故事\\\\\\ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int mn(int a){ if(a==1||a==2||a==3) { …… 题解列表 2025年01月23日 5 点赞 0 评论 1901 浏览 评分:0.0
很新手的解题,想到什么就写什么,你绝对能看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>intexchange(intnum,int…… 题解列表 2025年01月23日 0 点赞 0 评论 214 浏览 评分:0.0
1998: 提成计算(c语言) 摘要:解题思路:if else解题就行注意事项:最后条件一定要加 else if(x>400000)不加不过参考代码:#include <stdi…… 题解列表 2025年01月23日 1 点赞 0 评论 207 浏览 评分:10.0
递归O(nlogn) 摘要:解题思路:其实我们研究的对象是兔子的末状态,所以不必把兔子移动过程展现出来。选用指针来表示兔子的移动方向,首先先确定两只“双向奔赴"兔子的位置,单向奔赴兔子的末位置与指向的兔子一样,用深搜扫…… 题解列表 2025年01月23日 7 点赞 0 评论 1172 浏览 评分:10.0
C语言完数注释题解 摘要:- 注意: - 求N以内的完数,非单个数是否为完数 ```#include int main(){ int sum=0,n,i,j=6; scanf("%d",&n);…… 题解列表 2025年01月22日 0 点赞 0 评论 611 浏览 评分:0.0
2006(c语言包看懂得) 摘要:解题思路:干就行了注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n%2!=…… 题解列表 2025年01月22日 0 点赞 0 评论 86 浏览 评分:10.0
约瑟夫问题 摘要:约瑟夫问题这道题大致的本质上是将前两个元素移到最后,弹掉第m个元素注意:只要栈不为空就循环代码如下#include<bits/stdc++.h>usingnamespace…… 题解列表 2025年01月22日 0 点赞 0 评论 97 浏览 评分:0.0