简单的a+b (C++代码) 摘要:题目描述:输入两个整数 a 和b,计算 a+b 的和(多组测试数据)样例输入:1 110 20样例输出:230解题思路:先获取两个整数,然后再输出两者的和。注意事项:因为是无限循环的语句,所以在本地测…… 题解列表 2018年06月21日 14 点赞 5 评论 8016 浏览 评分: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 评论 1681 浏览 评分: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 评论 1842 浏览 评分:0.0
优质题解 蓝桥杯2015年第六届真题-机器人繁殖 (C++代码) 摘要:解题思路: 总数不超过50位,问题不大,可以用double保存,这题考的就是数学。我们可以把每一年增加的数量都列出来,看作一个数列,例如题目给的:5 9 17... 不难看出递推公式 …… 题解列表 2018年06月18日 1 点赞 0 评论 2420 浏览 评分:6.7
【能量项链】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstring> using namespace std; con…… 题解列表 2018年06月18日 0 点赞 0 评论 1553 浏览 评分:9.0
P1019 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<algorithm> using namespace std; const…… 题解列表 2018年06月18日 0 点赞 0 评论 1185 浏览 评分:0.0
转换的问题来了 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<math.h> using namespace std; const i…… 题解列表 2018年06月18日 0 点赞 0 评论 1124 浏览 评分:8.0
倒数第二 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int a[100]={0}; int m…… 题解列表 2018年06月18日 0 点赞 0 评论 1388 浏览 评分:2.0
蓝桥杯2014年第五届真题-排列序数 (C++代码) 摘要:解题思路: algorithm 库的使用,真好你说是不是。参考代码:#include<bits/stdc++.h> using namespace std; int main()…… 题解列表 2018年06月18日 3 点赞 2 评论 530 浏览 评分:0.0
内码对称 (C++代码) 摘要:解题思路: 把10进制变成32位二进制存储,判断对称即可。核心代码: arr[i] = (num >> i) & 1参考代码:#include<bits/stdc++.h> us…… 题解列表 2018年06月18日 0 点赞 0 评论 1909 浏览 评分:0.0