2004年秋浙江省计算机等级考试二级C 编程题(2) C语言 摘要:解题思路:注意事项:pow需要math头文件哦;注意精确位数;阶乘可以用递归。参考代码:#include<stdio.h>#include<math.h>double fact(int );doubl…… 题解列表 2019年02月22日 0 点赞 0 评论 718 浏览 评分:0.0
。。水。。:妹子杀手的故事 (C语言代码)只有3行 摘要:#include<stdio.h> int main() { int a,b; while(scanf("%d%d",&a,&b)&&a&&b) printf("%d\n",a*b)…… 题解列表 2019年02月23日 1 点赞 5 评论 876 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(void){ double x; scanf("%lf", &x); if (x < …… 题解列表 2019年02月23日 0 点赞 0 评论 563 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.6 (C语言代码) 摘要:解题思路:题目很简单,只需要用内外两个循环分别控制行和列的输出就OK了注意事项:格式6.2f要注意,后面要用空格隔开。另外printf("\n");这一句我本来用printf("\b\n");写的,但…… 题解列表 2019年02月23日 0 点赞 0 评论 476 浏览 评分:0.0
。。简单。易懂。。:蓝桥杯算法提高VIP-数组输出 (C语言代码) 摘要:#include<stdio.h> #include<math.h> int main() { int max,i,j,k,l,a[3][4]; for(i=0;i<3;i++) …… 题解列表 2019年02月23日 3 点赞 0 评论 1278 浏览 评分:0.0
蓝桥杯算法提高VIP-统计单词数 (C语言代码) 摘要:参考代码:#include <stdio.h> #include <string.h> int main(){ char s[101][21]; //单词 int book[100] …… 题解列表 2019年02月23日 0 点赞 2 评论 947 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C语言代码)什么,没要求验证定理? 摘要:#include <stdio.h> int main() { int m,n,t,i=1; scanf("%d",&m); n=m*m*m; printf…… 题解列表 2019年02月23日 0 点赞 0 评论 632 浏览 评分:0.0
分类计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",(a*a+b*b) > …… 题解列表 2019年02月23日 0 点赞 0 评论 970 浏览 评分:0.0
。。简化了一下。。:与2无关的数 (C语言代码) 摘要:#include<stdio.h> int main() { int n,i,sum,k; scanf("%d",&n); for(sum=0,i=1;i<=n;i++) { …… 题解列表 2019年02月23日 1 点赞 0 评论 1084 浏览 评分:0.0