2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h>#include<math.h>double fact(int n){ int i; double j=1.0; for(i=1;i<=n;i++) { j*=i;…… 题解列表 2019年02月13日 0 点赞 0 评论 1331 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h>int main(){ int i; double f; for(i=-100;i<=150;i=i+5) { f=32+(i*(9.0/5.0)); print…… 题解列表 2019年02月13日 0 点赞 0 评论 805 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int i,j,hang=0,lie=0,n; scanf("%d",&n); double m[n][n];…… 题解列表 2019年02月14日 1 点赞 0 评论 1589 浏览 评分:0.0
偶数列举 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); for(i=2;i<n;i=i+2) { printf("%…… 题解列表 2019年02月13日 0 点赞 0 评论 1551 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h>int main(){ int youxiu=0,tongguo=0,bujige=0; int a; do { scanf("%d",&a); if(a>=85…… 题解列表 2019年02月13日 0 点赞 0 评论 1185 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h>double fact(int i){ int j; double a=1.0; for(j=1;j<=i;j++) { a*=j; } return a;}int…… 题解列表 2019年02月13日 0 点赞 0 评论 1319 浏览 评分:0.0
来自渣渣北的解法(C代码) 摘要:解题思路: 用一个数组来记录多个注释的起点和终点的区间,这样在最后输出结果时,只需要判断当前值是否在该区间内即可,若在则为注释部分,那么就不输出,反之输出。参考代码:#include <stdio.h…… 题解列表 2019年02月13日 0 点赞 0 评论 2066 浏览 评分:0.0
蓝桥杯算法提高VIP-寻找三位数 (C语言代码) 摘要:解题思路: 按要求来就可以啦,要求分别是1:2:3的比例,1-9的所有数全部用上。参考代码:#include <stdio.h> #include <string.h> int main(){ …… 题解列表 2019年02月13日 2 点赞 0 评论 1418 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.4 (C语言代码) 摘要:解题思路: 公历闰年判定遵循的规律为: 四年一闰,百年不闰,四百年再闰. & 题解列表 2019年02月13日 0 点赞 0 评论 1151 浏览 评分:0.0
LJ--最好的方法 摘要:解题思路:如注释所言注意事项:参考代码:#include<stdio.h>int main(){ int n,m = 0,i,j,a[1000],b[1000] = {0}; scanf(…… 题解列表 2019年02月13日 0 点赞 0 评论 1614 浏览 评分:0.0