[编程入门]Sn的公式求和 (C语言代码) 摘要:标准库函数#include <math.h>double pow(double x,double y):计算xy的值 参考代码:#include<stdio.h> #include <math.…… 题解列表 2019年04月23日 0 点赞 0 评论 800 浏览 评分:0.0
[编程入门]求和训练 (C语言代码) 摘要:#include<stdio.h> #include <math.h> double Sn(double a,double b,double c) { double Sn,An=0,Bn=0…… 题解列表 2019年04月23日 0 点赞 0 评论 913 浏览 评分:0.0
[编程入门]水仙花数判断 (C语言代码) 摘要:#include<stdio.h> #include<math.h> int main() { int i; for(i=100;i<=999;i++) { int a,b,c…… 题解列表 2019年04月23日 0 点赞 0 评论 1488 浏览 评分:0.0
[编程入门]水仙花数判断 (C语言代码) 摘要:#include<stdio.h> #include<math.h> int main() { int i; for(i=100;i<=999;i++) { int a,b,c…… 题解列表 2019年04月23日 0 点赞 0 评论 1343 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double Sn(int n) { double Sn=0,i,a=1,b=2,t; …… 题解列表 2019年04月23日 0 点赞 0 评论 1091 浏览 评分:0.0
[编程入门]自由下落的距离计算 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { double n,Sn=0; int m,i; while(~scanf("…… 题解列表 2019年04月23日 0 点赞 0 评论 1626 浏览 评分:0.0
[编程入门]猴子吃桃的问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,Sn=1,i; while(~scanf("%d…… 题解列表 2019年04月23日 0 点赞 0 评论 719 浏览 评分:0.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,i,j; while(~scanf("%d",&…… 题解列表 2019年04月23日 0 点赞 0 评论 663 浏览 评分:0.0
[编程入门]矩阵对角线求和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int i,j,sum1=0,sum2=0,a[3][3]; …… 题解列表 2019年04月23日 0 点赞 0 评论 1127 浏览 评分:0.0
[编程入门]数组插入处理 简便方法 摘要:解题思路:看到的评论区的一名叫小绵羊的朋友写的代码,感觉很简洁简便,在这里和大家分享一下这里只考虑了从小到大输入的情况,并且因为只是为了输出结果的正确而没有改变数组元素的值。参考代码:#include…… 题解列表 2019年04月23日 0 点赞 0 评论 722 浏览 评分:0.0