2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(double n);double mypow(double x,double n…… 题解列表 2019年05月24日 0 点赞 0 评论 908 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ double x,y; scanf("%lf",&x); if(x<0)…… 题解列表 2019年05月24日 0 点赞 0 评论 713 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>double ctof(double c,double f);int main(){ double c,f; for(c=-100;c<=…… 题解列表 2019年05月24日 0 点赞 0 评论 865 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n, i,j,row,col; int max; int a[10][1…… 题解列表 2019年05月24日 0 点赞 0 评论 931 浏览 评分:0.0
C语言训练-素数问题 (C语言代码)。嘛耶。。被大佬盯上了(萌新瑟瑟发抖)。赶紧水题破镜(200?) 摘要:解题思路:一个大于1的自然数,除了1和它本身之外没有其他的因数,该数就是素数!注意事项:注意负数情况。。。(测试数据不一定有,但是为了严谨!!)参考代码:#include<stdio.h>int ma…… 题解列表 2019年05月24日 0 点赞 0 评论 622 浏览 评分:0.0
C语言训练-立方和不等式 (C语言代码)水题,哗哗哗的水声。。。 摘要:解题思路:如题模拟!!注意事项:跳出循环的时候注意一下结束条件分类。s==n 一类,s>n,一类;参考代码:#include<stdio.h>int main(){ int n,i; int sum…… 题解列表 2019年05月24日 0 点赞 0 评论 1217 浏览 评分:0.0
C语言训练-百钱百鸡问题 (C语言代码)这题。。ε=(´ο`*)))唉。白给。。我想暴力一下了。。。 摘要:解题思路:暴力打印。注意事项:无参考代码:#include<stdio.h>int main(){ printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,ch…… 题解列表 2019年05月24日 0 点赞 2 评论 1277 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double score,n1=0,n2=0,n3=0; scanf("%lf",&score); while(…… 题解列表 2019年05月24日 0 点赞 0 评论 567 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 (C语言代码)。。还以为是大数乘法。。。longlong解决它 摘要:解题思路:longlong解决注意事项:longlong输出:%lld参考代码:#include<stdio.h>long long jiecheng(int n){ int i; long long…… 题解列表 2019年05月24日 0 点赞 0 评论 1073 浏览 评分:0.0
C语言训练-求素数问题 (C语言代码)咳咳。。又是求素数。。 摘要:解题思路:在判断一个数是不是素数的基础上,在套个循环就行了注意事项:无参考代码:#include<stdio.h>#include<math.h>int isprime(int x){ int i; …… 题解列表 2019年05月24日 0 点赞 0 评论 815 浏览 评分:0.0