编写题解 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 评论 323 浏览 评分: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 评论 480 浏览 评分: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 评论 693 浏览 评分: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 评论 282 浏览 评分:9.9
Cylinder题解简短易懂python 摘要:解题思路:注意事项:注意分两种情况讨论,还有不要自己定义pi。。。。参考代码:import mathpi=math.piwhile True: w,h=map(float,input().spl…… 题解列表 2022年12月05日 0 点赞 0 评论 439 浏览 评分: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 评论 296 浏览 评分: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 评论 241 浏览 评分:9.9
1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int ha[3][3];int main(){ int a[3][3],i,j; for(i=0;i<3;i++) { …… 题解列表 2022年12月05日 0 点赞 0 评论 308 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ char s[1000]; scanf("%s",s); int len=strlen(s),i; …… 题解列表 2022年12月05日 0 点赞 0 评论 276 浏览 评分:9.9
金币超简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n, i, j, k = 0, s = 0; scanf("%d", &n); fo…… 题解列表 2022年12月05日 0 点赞 0 评论 628 浏览 评分:9.9