C语言程序设计教程(第三版)课后习题12.2 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int a,n; …… 题解列表 2018年06月22日 0 点赞 0 评论 1052 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; w…… 题解列表 2018年06月21日 0 点赞 0 评论 1137 浏览 评分:0.0
母牛生小牛 (C++代码) 摘要:解题思路:注意事项:水题水题参考代码:#include <bits/stdc++.h> using namespace std; int main() { int n,a[55]={0…… 题解列表 2018年06月21日 6 点赞 0 评论 1110 浏览 评分:9.3
程序员的表白 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main() { int n; while(cin>>n) {…… 题解列表 2018年06月21日 4 点赞 0 评论 1015 浏览 评分:0.0
数字整除 (C++代码)(大数除法) 摘要:解题思路: 这里不需要算出来结果,除到最后一位的时候判断是不是 17 的倍数就行了参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2018年06月21日 0 点赞 0 评论 1016 浏览 评分:0.0
简单的a+b (C++代码) 摘要:题目描述:输入两个整数 a 和b,计算 a+b 的和(多组测试数据)样例输入:1 110 20样例输出:230解题思路:先获取两个整数,然后再输出两者的和。注意事项:因为是无限循环的语句,所以在本地测…… 题解列表 2018年06月21日 13 点赞 5 评论 5929 浏览 评分:8.4
C语言程序设计教程(第三版)课后习题11.12 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=105; int a[M][2],b[M][2]; int…… 题解列表 2018年06月20日 0 点赞 0 评论 777 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.11 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1005; int a[M]; int main() {…… 题解列表 2018年06月19日 0 点赞 0 评论 950 浏览 评分:0.0
优质题解 蓝桥杯2015年第六届真题-机器人繁殖 (C++代码) 摘要:解题思路: 总数不超过50位,问题不大,可以用double保存,这题考的就是数学。我们可以把每一年增加的数量都列出来,看作一个数列,例如题目给的:5 9 17... 不难看出递推公式 …… 题解列表 2018年06月18日 1 点赞 0 评论 1740 浏览 评分:6.7
【能量项链】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstring> using namespace std; con…… 题解列表 2018年06月18日 0 点赞 0 评论 970 浏览 评分:9.0