二级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 评论 300 浏览 评分:9.9
二级C语言-阶乘公式求职 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ int i; double k=1; for(i=1;i<=n;i++) …… 题解列表 2022年10月30日 0 点赞 0 评论 211 浏览 评分:0.0
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i=0, j=0, k=0; int score; s…… 题解列表 2022年10月30日 0 点赞 0 评论 223 浏览 评分:0.0
自由下落的距离计算(超简单) 摘要:解题思路:注意事项:参考代码:#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 评论 220 浏览 评分:9.9
分糖果题解 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(),count = 0; //人数,计数器 int[]…… 题解列表 2022年10月30日 0 点赞 0 评论 278 浏览 评分:9.9
二级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 评论 193 浏览 评分:0.0
1681: 数据结构-行编辑程序(c++) 摘要:解题思路:此题的关键就是getline函数,string 类中的方法,不然后续的空格无法输出,或者答案错误注意事项:参考代码:#include #include using namespace s…… 题解列表 2022年10月30日 0 点赞 0 评论 369 浏览 评分:9.9
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int ctof(int c){ int f; f= 32 + c* 9/5; ret…… 题解列表 2022年10月30日 0 点赞 0 评论 211 浏览 评分:0.0
二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x,f; scanf("%lf",&x); if…… 题解列表 2022年10月30日 0 点赞 0 评论 245 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int m,l,i,c[10086],j,k=0; scanf ("%d %d",&l,&m); …… 题解列表 2022年10月30日 0 点赞 0 评论 203 浏览 评分:0.0