注意剩余桃子和前一天桃子的关系式 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,peach=0,peach_left=1; scanf("%d",&N); for(int i…… 题解列表 2022年10月20日 0 点赞 0 评论 178 浏览 评分:9.9
摩尔斯电码—(C语言)详细题解 摘要:解题思路:接收输入的字符串后,按照字符'|'来分割注意事项:输出结果应为小写的字符参考代码:#include<stdio.h>#include<string.h>int main(){…… 题解列表 2022年10月20日 0 点赞 0 评论 646 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){in…… 题解列表 2022年10月20日 0 点赞 0 评论 300 浏览 评分:9.9
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,d,e,f,g,h,i,j; cin >>a>>b…… 题解列表 2022年10月20日 0 点赞 0 评论 238 浏览 评分:7.3
通过数组和函数求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int m){ int sum = 0,wanshu_factor[100],num=0; for(int i …… 题解列表 2022年10月20日 0 点赞 0 评论 230 浏览 评分:9.9
输入输出练习之第二个数字 摘要:解题思路:定义三个变量,用scanf输入三个整数,用printf输出第二个整数注意事项:%d%d%d之间无任何字符参考代码:#include<stdio.h>int main(){int a,b,c;…… 题解列表 2022年10月19日 0 点赞 0 评论 548 浏览 评分:7.3
新手题解,简明易懂 摘要:参考代码:#include<stdio.h> int main() { int t,a;//一个存当前值,一个存最大值 scanf("%d",&t); if(!(t+…… 题解列表 2022年10月19日 0 点赞 0 评论 204 浏览 评分:0.0
初学者思维解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a[1000]; int i,m,n,j; scanf("%d\n"…… 题解列表 2022年10月19日 0 点赞 0 评论 189 浏览 评分:0.0
递归标准题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void f(int i,int x);int s[100]={0}; int s1[100]={0}; //s1[-1]=0; int…… 题解列表 2022年10月19日 0 点赞 0 评论 326 浏览 评分:6.0
一看就会的数字逆序输出 摘要:解题思路:定义两个数组,一个存放原数列,一个存放逆序后的数列注意事项:参考代码:#include<stdio.h>void main(){ int i,a[10],b[10],k; for…… 题解列表 2022年10月19日 0 点赞 0 评论 187 浏览 评分:0.0