2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void ctof(int c){ int i; for(i = c; i <= 150; i += 5) printf("c=%…… 题解列表 2019年01月18日 0 点赞 0 评论 799 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int map[6][6]; int i,j,n; int r,c,ma…… 题解列表 2019年01月18日 0 点赞 0 评论 670 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int score; int count1 = 0,count2 = 0,count3 = 0; while…… 题解列表 2019年01月18日 0 点赞 0 评论 1215 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>double fact(int n){ double ans = 1.0; int i; for(i = 2; i <= n; i+…… 题解列表 2019年01月18日 0 点赞 0 评论 515 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[200][1001]; int i,n,index; scanf("%d\n", &n); i…… 题解列表 2019年01月18日 0 点赞 0 评论 791 浏览 评分:0.0
新手解题法——————课后习题5.8 (C语言代码) 摘要:解题思路:注意事项:注意计算正确参考代码:#include <stdio.h>int main(){ int n,i,a,b,c,d,e; scanf("%d",&n); b=n-1…… 题解列表 2019年01月18日 0 点赞 0 评论 919 浏览 评分:0.0
Hello, world! (C++代码) 摘要:解题思路:利用强制类型转换注意事项:c++有默认的文件结束参考代码:#include<iostream>using namespace std;int main(){ int a; w…… 题解列表 2019年01月19日 0 点赞 0 评论 740 浏览 评分:0.0
用筛法求之N内的素数。 (C++代码) 摘要:解题思路:利用标志来寻找其是否有其他因子注意事项:1不是素数参考代码:#include<iostream>using namespace std;int main(){ int m,n,i,j;…… 题解列表 2019年01月19日 0 点赞 0 评论 660 浏览 评分:0.0
字符逆序 (C++代码) 摘要:解题思路:把数组逆序输出注意事项:有空格,用gets()输入cin不识别控制符参考代码:#include<iostream>#include<string.h>#include<cstdio>usin…… 题解列表 2019年01月19日 0 点赞 0 评论 733 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>#include<cstdio>using namespace std;int main(){ …… 题解列表 2019年01月19日 0 点赞 0 评论 772 浏览 评分:0.0