题目 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 评论 354 浏览 评分: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 评论 594 浏览 评分: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 评论 262 浏览 评分: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 评论 313 浏览 评分: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 评论 466 浏览 评分: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 评论 682 浏览 评分: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 评论 273 浏览 评分:9.9
Cylinder题解简短易懂python 摘要:解题思路:注意事项:注意分两种情况讨论,还有不要自己定义pi。。。。参考代码:import mathpi=math.piwhile True: w,h=map(float,input().spl…… 题解列表 2022年12月05日 0 点赞 0 评论 430 浏览 评分:9.9
1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>double sum1,m;double jie(int a,int b,int c){ m=b*b-4*a*c; sum1…… 题解列表 2022年12月05日 0 点赞 0 评论 289 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int n,cout=0,i; scanf("%d",&n); if(n<=1) { printf…… 题解列表 2022年12月05日 0 点赞 0 评论 236 浏览 评分:9.9