二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a[100][100],i,j,max,b=0,c=0; s…… 题解列表 2022年10月30日 0 点赞 0 评论 268 浏览 评分:0.0
分糖果题解 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(),count = 0; //人数,计数器 int[]…… 题解列表 2022年10月30日 0 点赞 0 评论 403 浏览 评分:9.9
自由下落的距离计算(超简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float h=0,m=0,M,N; scanf("%f%f",&M,&N); for(int i=1; i…… 题解列表 2022年10月30日 0 点赞 0 评论 306 浏览 评分:9.9
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i=0, j=0, k=0; int score; s…… 题解列表 2022年10月30日 0 点赞 0 评论 301 浏览 评分:0.0
二级C语言-阶乘公式求职 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ int i; double k=1; for(i=1;i<=n;i++) …… 题解列表 2022年10月30日 0 点赞 0 评论 293 浏览 评分:0.0
二级C语言-阶乘公式求职python 摘要:解题思路:注意事项:参考代码:n = int(input())s = 0a = 1for i in range(1,n+1): a = i*a s += 1/aprint('%s%…… 题解列表 2022年10月30日 0 点赞 0 评论 377 浏览 评分:9.9
勾股定理的傻子应用 摘要:解题思路:傻子算法用if else有手就行的注意事项:慢慢来参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c);…… 题解列表 2022年10月31日 0 点赞 0 评论 363 浏览 评分:0.0
原码求补码(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { char s[16]; int i; …… 题解列表 2022年10月31日 0 点赞 0 评论 452 浏览 评分:6.0
循环练习之完美数判断(简单C++) 摘要:解题思路:建议在外面写个函数进行因子求和,看的更加清晰注意事项:参考代码:#include<iostream> using namespace std; int f(int n) { …… 题解列表 2022年10月31日 0 点赞 0 评论 398 浏览 评分:9.9
罗列完美数(简单C++函数法) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int n) { int s=0,i; for(i=…… 题解列表 2022年10月31日 0 点赞 0 评论 328 浏览 评分:9.9