C语言训练-斐波纳契数列 (C语言代码) 摘要:解题思路:斐波那契数的递归定义:F(0)=0,F(1)=1,F(n)=F(n-1)+F(n-2);(n>=2)。因此可以运用数组加循环解答。注意事项:输出时从a[1]开始输出,到a[n]为止。参考代码…… 题解列表 2018年08月24日 5 点赞 0 评论 946 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:一定要使用double类型数据,int类型范围比较小参考代码:#include<stdio.h>double jiecheng(int x)//阶乘求法{ int i; …… 题解列表 2018年08月24日 0 点赞 0 评论 1007 浏览 评分:0.0
关于圆的面积 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> #define PI 3.1415926 int main() { int t; d…… 题解列表 2018年08月25日 0 点赞 0 评论 834 浏览 评分: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 评论 708 浏览 评分: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 评论 1370 浏览 评分: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 评论 1273 浏览 评分: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 评论 794 浏览 评分:0.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 评论 1001 浏览 评分: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 评论 878 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string.h>#include <set>using namespace std;int main(){ …… 题解列表 2018年08月25日 0 点赞 0 评论 850 浏览 评分:0.0