数列 (C++代码) 摘要:解题思路:第2的m次方项为k的m次方(m=0 1 2...) 其余项为s[n+j]=s[n]+s[j] (1 <= j <= n-1)注意事项:参考代码:#include<iostream>usi…… 题解列表 2018年05月04日 1 点赞 0 评论 1645 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:/* 2018年5月5日08:50:27 目的: 输入一个正数x和一个正整数n,求下列算式的值。要求定义两个调用函数:fact(n)计算n的阶乘;mypow(x,n)计算x的n次幂(即…… 题解列表 2018年05月05日 0 点赞 0 评论 909 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include <stdio.h> #include <math.h> int main() { double x; scanf("%lf", &x); if(x …… 题解列表 2018年05月05日 0 点赞 0 评论 1547 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include <stdio.h> double n,j=1,k,sum=0; int i=1; double fact(double n) { k=1; for(j=1;j…… 题解列表 2018年05月05日 0 点赞 0 评论 1020 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:没什么特别的注意事项:参考代码:#include<stdio.h> int N[101]; int main() { int n,i,m,sum; while(scanf("%…… 题解列表 2018年05月05日 0 点赞 0 评论 520 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要: #include <stdio.h> int a[100]; int i,j=0,k=0,h=0,d; int main (void) { for(d=0;d<100;d++) …… 题解列表 2018年05月05日 0 点赞 0 评论 566 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main (void) { char a[100]; int i,c; gets(a)…… 题解列表 2018年05月05日 0 点赞 0 评论 830 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:#include <stdio.h> #include <math.h> int a[10],b[10],j=0,k,h; int i; int fun(int *j,int *k…… 题解列表 2018年05月05日 0 点赞 0 评论 828 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:#include <stdio.h> int a[100],b[100],k,h,q,w,e; int i; int fun(int *q,int *w) { e = *q; …… 题解列表 2018年05月05日 0 点赞 0 评论 571 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:#include <stdio.h> int a[100],b[100]; int i,k,h,q,w,e; int fun(int *q,int *w) { e = *q; …… 题解列表 2018年05月05日 0 点赞 0 评论 1126 浏览 评分:0.0