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 评论 298 浏览 评分:9.9
Cylinder题解简短易懂python 摘要:解题思路:注意事项:注意分两种情况讨论,还有不要自己定义pi。。。。参考代码:import mathpi=math.piwhile True: w,h=map(float,input().spl…… 题解列表 2022年12月05日 0 点赞 0 评论 441 浏览 评分: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 评论 283 浏览 评分:9.9
1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int n,a[10][10],i,j,sum=0; scanf("%d",&n); for(i=0…… 题解列表 2022年12月05日 0 点赞 0 评论 294 浏览 评分:9.0
编写题解 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 评论 694 浏览 评分: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 评论 483 浏览 评分: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 评论 323 浏览 评分: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 评论 278 浏览 评分: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 评论 601 浏览 评分:9.9
题目 1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ printf("1*1=1\n"); printf("1*2=2 2*2=4\n"); print…… 题解列表 2022年12月05日 0 点赞 1 评论 327 浏览 评分:6.0