小O的乘积 (C++代码) 摘要:解题思路:只要注意几个情况就能AC了注意事项:参考代码:#include<cstdio>#include <algorithm>using namespace std;int main(){ i…… 题解列表 2017年10月31日 0 点赞 0 评论 987 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:1.按照题目要求,要先计算10个数的和,在计算平均值:我们设立一个数组num[10],然后利用for循环依次将十个数赋到数组中,并用sum求十个数的和;2.退出循环再计算平均值;3.再次利用…… 题解列表 2017年10月31日 1 点赞 0 评论 944 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* t */ #include<stdio.h> #define N 100 struct student { char num[10]; …… 题解列表 2017年10月31日 12 点赞 5 评论 2305 浏览 评分:9.5
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:1.先建立一个循环m<=i<=n,依次判断在这一区间的每个数是否是素数,在循环内部调用isprime(i)函数;2.在int isprime(int x)函数中,我们要判断x是否是素数:设立…… 题解列表 2017年10月31日 3 点赞 1 评论 941 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 哎。。 */ #include<stdio.h> #define N 100 struct student { char num[10]; …… 题解列表 2017年10月31日 0 点赞 0 评论 1670 浏览 评分:9.9
幸运数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int M=500000;int a[M],count;void Lucky_nu…… 题解列表 2017年11月01日 1 点赞 0 评论 3430 浏览 评分:7.3
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) 摘要:解题思路:链式排序不是那么好弄。。所以用了交换注意事项:参考代码:/*lb*/ #include<stdio.h> #include<stdlib.h> typedef struct stude…… 题解列表 2017年11月01日 3 点赞 1 评论 1157 浏览 评分:8.4
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:/* */ #include<stdio.h> #define N 10 void create(int *arr) { int i; f…… 题解列表 2017年11月01日 2 点赞 0 评论 1141 浏览 评分:0.0
字符删除 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main() { char s[200],ch,*str; int i,out; while (…… 题解列表 2017年11月01日 0 点赞 0 评论 903 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){printf("****************\n");printf("Hello Word!\n");printf("…… 题解列表 2017年11月01日 0 点赞 0 评论 711 浏览 评分:0.0