2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int c=-100,F;while(c<=150){F = 32 + c*9/5;printf("c=%d->f…… 题解列表 2018年07月30日 0 点赞 0 评论 591 浏览 评分:0.0
数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n=2018,s=19;…… 题解列表 2018年07月30日 0 点赞 0 评论 707 浏览 评分:0.0
与2无关的数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a,b,c…… 题解列表 2018年07月30日 0 点赞 0 评论 816 浏览 评分:2.0
求所给范围内水仙花数并排列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b; while(c…… 题解列表 2018年07月30日 0 点赞 0 评论 1412 浏览 评分:0.0
台球碰撞 (C++代码) 摘要:#include <stdio.h>#include<iostream>#include<math.h>#include<iomanip>using namespace std;double xs(i…… 题解列表 2018年07月30日 0 点赞 0 评论 964 浏览 评分:2.0
人民币问题 (C语言代码) 摘要:解题思路:若钱数为a,都换成5元最多有i=a/5张,都换成2元最多有j=a/2张,都换成1元最多有a张,在三种钱币的取值范围内循环,若总价值等于a,就能找到符合要求的钱币张数。转化成代码就是:#inc…… 题解列表 2018年07月30日 0 点赞 0 评论 941 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> typedef struct stu { char name[25…… 题解列表 2018年07月30日 1 点赞 1 评论 434 浏览 评分:9.9
简单的a+b (C语言代码) 摘要:# include <stdio.h>int main (void){ int a, b; while (scanf("%d%d", &a, &b)) { printf…… 题解列表 2018年07月29日 0 点赞 0 评论 585 浏览 评分:0.0
川哥的吩咐 (C语言代码) 摘要:解题思路: 本题为大数据储存,所以要用数组来储存数据注意事项: 1.需要考虑是否有进位,特别是最高位,所以需要把储存数字的和的数字多考虑一位 2.需要辅助数组将数字对齐,以便相加。…… 题解列表 2018年07月29日 6 点赞 0 评论 1406 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题6.4 (C++代码) 摘要:解题思路:题意很简单,是一个阶乘累加的算法设计。如果要实现这个算法,就要做到两个工作,先分别阶乘,再累加。我设计了一个子程序用于阶乘。注意事项:阶乘是一个让数值大小级数级倍增的算法,普通的int求和时…… 题解列表 2018年07月29日 1 点赞 0 评论 1472 浏览 评分:9.3