1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;queue<char>mem;int main(){ int i; char a; …… 题解列表 2022年12月06日 0 点赞 0 评论 272 浏览 评分:9.9
C语言简便易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,s=0; scanf("%d",&n); while(n!=0) …… 题解列表 2022年12月05日 0 点赞 2 评论 804 浏览 评分:9.9
金币超简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n, i, j, k = 0, s = 0; scanf("%d", &n); fo…… 题解列表 2022年12月05日 0 点赞 0 评论 500 浏览 评分: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 评论 201 浏览 评分: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 评论 217 浏览 评分: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 评论 162 浏览 评分: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 评论 210 浏览 评分:9.9
Cylinder题解简短易懂python 摘要:解题思路:注意事项:注意分两种情况讨论,还有不要自己定义pi。。。。参考代码:import mathpi=math.piwhile True: w,h=map(float,input().spl…… 题解列表 2022年12月05日 0 点赞 0 评论 320 浏览 评分: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 评论 194 浏览 评分: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 评论 200 浏览 评分:9.0