2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要://当0<=x<2时,(x+1)的二分之一次方。意思也就是sqrt(x+1).二分之一次方可以换成开平方根。 #include<stdio.h>#include<math.h>int main(){ …… 题解列表 2019年02月13日 0 点赞 0 评论 601 浏览 评分: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 评论 449 浏览 评分:0.0
BREEZE------之 总算有小技巧系列(用的C) 摘要:终于!有小技巧了! (其实也不算什么啦,只不过写的方便点) 就是可以吧一连串的有规律的范围按顺序写,这样子就可以少掉加&&符号了,((●ˇ∀ˇ●)我就是偷个懒)#include<s…… 题解列表 2019年02月25日 0 点赞 0 评论 945 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:1/2与1.0/2的区别参考代码:#include<stdio.h>#include<math.h>int main(){ int n; double y; scanf("%d",…… 题解列表 2019年05月05日 0 点赞 0 评论 317 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:分段函数,难度不大注意事项:注意x的类型,定义为整型是行不通滴参考代码:#include<stdio.h>#include<math.h>int main(){ double x,fx; s…… 题解列表 2019年05月11日 0 点赞 0 评论 522 浏览 评分: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 评论 381 浏览 评分:0.0
二级C语言-分段函数-题解(C语言代码) 摘要: #include #include int main() { int x; double y; scanf("%d",&x…… 题解列表 2019年11月12日 0 点赞 0 评论 419 浏览 评分:0.0
二级C语言-分段函数-题解(C++代码) 摘要:#include #include//数学函数的头文件 #include//保留小数位数的头文件 using namespace std; int main() { int x; d…… 题解列表 2019年12月26日 0 点赞 0 评论 774 浏览 评分:0.0
二级C语言-分段函数-题解(C语言代码) 摘要:#include #include int main() { float y=0,x; scanf("%g",&x); if(x=0&&x=2&&x…… 题解列表 2020年01月29日 0 点赞 0 评论 531 浏览 评分:0.0
二级C语言-分段函数-题解(C语言代码) 摘要: #include "stdio.h" #include "math.h" int main() { float x,y; scanf("%f",&x); if(x=0 …… 题解列表 2020年02月25日 0 点赞 0 评论 364 浏览 评分:0.0