题目 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>long long i,sum=1;int main(){ int n; scanf("%d",&n); n--; whil…… 题解列表 2022年12月05日 0 点赞 0 评论 347 浏览 评分:9.9
题目 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>double a,sum=0,i,m,n;int main(){ scanf("%lf %lf",&m,&n); …… 题解列表 2022年12月05日 0 点赞 0 评论 296 浏览 评分:9.9
数字母 (常规) 摘要:解题思路: 常规做法,求字符串长度,循环遍历,判断字母.注意事项:参考代码: char arr[101]; scanf("%s", arr); int len = strlen(arr); int c…… 题解列表 2022年12月05日 0 点赞 0 评论 351 浏览 评分:9.9
题目 1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int i,n,m; scanf("%d",&n);//输入一个三位数 for(i=0;i<2;i+…… 题解列表 2022年12月05日 0 点赞 0 评论 414 浏览 评分:9.9
题目 1060: 二级C语言-同因查找 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ for(int i=10;i<=1000;i++) { if(i%2==0&&i%3==0&&i%…… 题解列表 2022年12月05日 0 点赞 0 评论 656 浏览 评分:9.9
题目 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ double n,cout=0,sum=0,m=20; while(m--) { scanf("%…… 题解列表 2022年12月05日 0 点赞 0 评论 327 浏览 评分:9.9
编写题解 1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int gys(int a,int b){ if(b==0)return a; else return gys(b,a%b)…… 题解列表 2022年12月05日 0 点赞 0 评论 361 浏览 评分:9.9
编写题解 1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int i,a[10],n,cout=0; for(i=0;i<9;i++)scanf("%d",&…… 题解列表 2022年12月05日 0 点赞 0 评论 534 浏览 评分:9.9
编写题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int i,a[9]; for(i=0;i<9;i++) { scanf("%d",&a[i]);…… 题解列表 2022年12月05日 0 点赞 0 评论 751 浏览 评分:9.9
1027: [编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int gys(int a,int b){ if(b==0)return a; else return gys(b,a%b)…… 题解列表 2022年12月05日 0 点赞 0 评论 326 浏览 评分:9.9