题解列表
1000: [竞赛入门]简单的a+b题解
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) ……
1004: [递归]母牛的故事题解
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main () { int cow[56] = {0,1,2,3,4}; ……
1009普通解题看看吧
摘要:解题思路:注意事项:注意把整型转换为字符串和l - 1就行了。参考代码:#include<stdio.h>#include<string.h>int main (){ int b; char a[10……
【编程入门】猴子吃桃的问题1020
摘要:解题思路:简单的递归注意事项:参考代码:#includeint F(int N){ if (N == 1) return 1; if (N > 1) return (F(N - 1) + 1) ……
汽水瓶-递归思想(C++代码)
摘要:解题思路:由简单到复杂!当我们只有1瓶空汽水瓶时,换不了,自己留下1个空瓶;但我们有2个空瓶时,可以让老板借我们一瓶汽水,喝完再用3个空瓶换一瓶还给老板,最后我们留下0个空瓶;有3个时,换1,留1;有……
计算边缘之和本比做法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,c,d,e,f,n,m; c=0;d=0;e=0;f=0; int a[101……
1062: 二级C语言-公约公倍
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gys(int a,int b){ if (a == b) { return a; } if (a<b) { return ……
[编程入门]报数问题 纯c解法 无技巧
摘要:解题思路:只有纯0才有资格呢【狗头】注意事项:)报数足够多(但是时间可能超限)参考代码:#include<stdio.h>int a[101];int main(){ int m,h=0,q=0……