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 评论 1174 浏览 评分:0.0
在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止; 代码中while里的表达式(c = getchar()) != '\n',意 摘要:解题思路和注意事项:在这里我们会用到getchar()函数,简单来说,getchar()就是从键盘获取字符,直到回车为止;代码中while里的表达式(c = getchar()) != '\n…… 题解列表 2018年08月25日 0 点赞 0 评论 2873 浏览 评分: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 评论 1274 浏览 评分: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 评论 1068 浏览 评分: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 评论 1638 浏览 评分: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 评论 1724 浏览 评分: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 评论 960 浏览 评分:0.0
剔除相关数 (C++代码)直接暴力了__可AC 解题思路:我的想法比较简单,对于输入的每个数进行长度判断,如123的长度是3,23的长度是2,如果两个数的长度不相等,那么就一定不是相关数了;如果长度相等也不一定是相关数,我们还要判断该数与另一个数子字符是不是能够对应的上,如果能对应得上,那么就是相关数了,对这些数进行标记,不要输出这些数就可以了。 题解列表 2018年08月25日 12 点赞 0 评论 2348 浏览 评分:9.9
关于圆的面积 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> #define PI 3.1415926 int main() { int t; d…… 题解列表 2018年08月25日 0 点赞 0 评论 1377 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:一定要使用double类型数据,int类型范围比较小参考代码:#include<stdio.h>double jiecheng(int x)//阶乘求法{ int i; …… 题解列表 2018年08月24日 0 点赞 0 评论 1349 浏览 评分:0.0