[编程入门]有规律的数列求和 (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 评论 853 浏览 评分: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 评论 1219 浏览 评分:0.0
[编程入门]猴子吃桃的问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,Sn=1,i; while(~scanf("%d…… 题解列表 2019年04月23日 0 点赞 0 评论 608 浏览 评分:0.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n,i,j; while(~scanf("%d",&…… 题解列表 2019年04月23日 0 点赞 0 评论 542 浏览 评分: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 评论 904 浏览 评分:0.0
[编程入门]数组插入处理 简便方法 摘要:解题思路:看到的评论区的一名叫小绵羊的朋友写的代码,感觉很简洁简便,在这里和大家分享一下这里只考虑了从小到大输入的情况,并且因为只是为了输出结果的正确而没有改变数组元素的值。参考代码:#include…… 题解列表 2019年04月23日 0 点赞 0 评论 599 浏览 评分:0.0
[编程入门]实数的打印 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; scanf("%f",&a); printf("%6.2f\n",a); …… 题解列表 2019年04月23日 2 点赞 0 评论 849 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[20], i, n = 0, m = 0; float v, s = 0; for…… 题解列表 2019年04月23日 0 点赞 0 评论 590 浏览 评分:0.0
[编程入门]数组插入处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,b,t; int a[10]={0,0,0,0,0,0,0,0,0,0}; fo…… 题解列表 2019年04月23日 0 点赞 0 评论 842 浏览 评分:0.0
[编程入门]电报加密 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int l,i; char a[1000]; gets(a); l=strl…… 题解列表 2019年04月23日 1 点赞 0 评论 1257 浏览 评分:0.0