C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:其他题解思路都不错,这里给大家提供一个简洁的代码供参考注意事项:参考代码:#include<stdio.h> int i,c,a; int count(int c) { int…… 题解列表 2018年07月29日 0 点赞 0 评论 1429 浏览 评分:0.0
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> int main() { int N, num[10], i, max; while (scanf("…… 题解列表 2018年07月29日 1 点赞 0 评论 1125 浏览 评分:0.0
求大神来看看为什么通不过AC(通过一次)是差在哪里 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { string…… 题解列表 2018年07月29日 0 点赞 0 评论 1343 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int i; char str[10…… 题解列表 2018年07月29日 1 点赞 0 评论 894 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:数列思维注意事项:参考代码:#include<stdio.h> int main() { int n,i; int a = 2,sum = 2; scanf_s("%d", …… 题解列表 2018年07月29日 0 点赞 0 评论 1003 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:# include <stdio.h>int main (void){ int a, b; while (scanf("%d%d", &a, &b)) { printf…… 题解列表 2018年07月29日 0 点赞 0 评论 668 浏览 评分:0.0
人民币问题 (C语言代码) 摘要:解题思路:若钱数为a,都换成5元最多有i=a/5张,都换成2元最多有j=a/2张,都换成1元最多有a张,在三种钱币的取值范围内循环,若总价值等于a,就能找到符合要求的钱币张数。转化成代码就是:#inc…… 题解列表 2018年07月30日 0 点赞 0 评论 1066 浏览 评分:0.0
求所给范围内水仙花数并排列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b; while(c…… 题解列表 2018年07月30日 0 点赞 0 评论 1716 浏览 评分:0.0
数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n=2018,s=19;…… 题解列表 2018年07月30日 0 点赞 0 评论 770 浏览 评分:0.0
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 评论 677 浏览 评分:0.0