优质题解 C语言程序设计教程(第三版)课后习题6.9 (C++代码) 摘要:解题思路:反弹实例 假设起始从100米处下降,则 第一次,反弹高度为50,经过100米。 第二次,反弹高度为25,经过100+50+50=200米(下降100米+弹回50米+下…… 题解列表 2018年06月02日 2 点赞 4 评论 5616 浏览 评分:9.6
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int N,sum=1;//N天数,sum为水果个数 scanf("%d",&N); for (int i …… 题解列表 2018年06月01日 0 点赞 0 评论 919 浏览 评分:0.0
生日日数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int check(int n) { if((n%4==0&&n%100)||(…… 题解列表 2018年06月01日 0 点赞 0 评论 2231 浏览 评分:0.0
班级人数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { float a,b; while(cin>>a>>…… 题解列表 2018年06月01日 0 点赞 0 评论 2013 浏览 评分:6.0
演讲大赛评分 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; int …… 题解列表 2018年06月01日 0 点赞 0 评论 1860 浏览 评分:0.0
求组合数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b)…… 题解列表 2018年06月01日 0 点赞 0 评论 1886 浏览 评分:2.0
C语言训练-字符串正反连接 (C++代码) 摘要:注意事项:VS2017是gets_s()不是gets().参考代码:#include<iostream> #include<cstring> using namespace std; int m…… 题解列表 2018年06月01日 1 点赞 0 评论 1487 浏览 评分:6.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int i; char s[101]; gets…… 题解列表 2018年06月01日 0 点赞 0 评论 1871 浏览 评分:0.0
C语言训练-列出最简真分数序列* (C++代码) 摘要:解题思路:参考代码:#include<iostream> using namespace std; int main() { int i,j; int v[7] = { 2,4,5,8,…… 题解列表 2018年06月01日 1 点赞 0 评论 1743 浏览 评分:9.9
C语言训练-亲密数 (C++代码) 摘要:解题思路:数组标记解决重复问题。参考代码:#include<iostream> using namespace std; int book[3001]; int main() { int …… 题解列表 2018年06月01日 0 点赞 0 评论 1485 浏览 评分:0.0