川哥的吩咐 (C语言代码)本着追大连交通大学的故事番,来简单解答一波!!! 摘要:解题思路:因为任何整形包括long long都不可能存储超过1000位的数字,所以,我们只能用字符数组一个数字一个数字的存储。 相加过程参考以前小学老师讲的,1,先从右到左对齐,…… 题解列表 2019年04月22日 0 点赞 0 评论 1319 浏览 评分:0.0
[编程入门]Sn的公式求和 (C语言代码) 摘要:标准库函数#include <math.h>double pow(double x,double y):计算xy的值 参考代码:#include<stdio.h> #include <math.…… 题解列表 2019年04月23日 0 点赞 0 评论 785 浏览 评分: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 评论 894 浏览 评分: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 评论 1469 浏览 评分: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 评论 1304 浏览 评分: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 评论 1072 浏览 评分: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 评论 1595 浏览 评分:0.0
[编程入门]猴子吃桃的问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,Sn=1,i; while(~scanf("%d…… 题解列表 2019年04月23日 0 点赞 0 评论 710 浏览 评分:0.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,i,j; while(~scanf("%d",&…… 题解列表 2019年04月23日 0 点赞 0 评论 655 浏览 评分: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 评论 1106 浏览 评分:0.0