2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ int i; double sum=1; for(i=1;i<=n;++…… 题解列表 2018年08月25日 0 点赞 0 评论 1170 浏览 评分:0.0
a = a * 10 + 2; Sn = Sn + a; 摘要:参考代码:#include<stdio.h>int main(){ int n,Sn = 0,i,a = 0; scanf("%d",&n); for(i=0; i<n; i++) …… 题解列表 2018年08月25日 0 点赞 0 评论 991 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string.h>#include <set>using namespace std;int main(){ …… 题解列表 2018年08月25日 0 点赞 0 评论 927 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[50],i=0; int count1=0,count2=0,count3=0; …… 题解列表 2018年08月25日 0 点赞 0 评论 982 浏览 评分:0.0
在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止; 代码中while里的表达式(c = getchar()) != '\n',意 摘要:解题思路和注意事项:在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止;代码中while里的表达式(c = getchar()) != '\n…… 题解列表 2018年08月25日 0 点赞 0 评论 2647 浏览 评分:9.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a[10][10]; int i,j,maxi,ma…… 题解列表 2018年08月25日 0 点赞 0 评论 1104 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int ctof(int c){ int f; f=32+c*9/5; return f;}int main()…… 题解列表 2018年08月25日 0 点赞 0 评论 871 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float x,y; scanf("%f",&x); i…… 题解列表 2018年08月25日 0 点赞 0 评论 1398 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(int n){ int i; double sum=1; …… 题解列表 2018年08月25日 0 点赞 0 评论 1516 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a[10]; int i; int t,mi…… 题解列表 2018年08月25日 0 点赞 0 评论 783 浏览 评分:0.0