检查金币 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; w…… 题解列表 2018年05月31日 1 点赞 0 评论 1014 浏览 评分:8.0
C语言训练-"水仙花数"问题1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; i…… 题解列表 2018年06月01日 1 点赞 5 评论 865 浏览 评分:8.0
优质题解 C二级辅导-计负均正 (C语言代码) 摘要:解题思路: 1.因为需要输入20个数,所以需要定义一个数组; 2.输入的数据有两种状态需要判断,所以可用if_else语句注意事项: 1.数组用for循环输入 2.注意是有一个…… 题解列表 2018年06月04日 5 点赞 26 评论 8982 浏览 评分:8.0
蓝桥杯算法提高- c++_ch02_03 (C++代码) 摘要:解题思路:找出所有能出现的结果即可 #include"bits/stdc++.h" using namespace std; int main() { int a,b; cin>>a>…… 题解列表 2018年06月11日 1 点赞 0 评论 1129 浏览 评分:8.0
题解1031运行正常,为啥提交了提示错误呢? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0, x = 0,j=0; char str[50],ch; whil…… 题解列表 2018年06月12日 0 点赞 0 评论 565 浏览 评分:8.0
蓝桥杯算法提高VIP-Torry的困惑(提高型) (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int is(int n) { int y=sqrt(n); for(int j=2;j<=y;…… 题解列表 2018年06月14日 2 点赞 0 评论 1610 浏览 评分:8.0
转换的问题来了 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<math.h> using namespace std; const i…… 题解列表 2018年06月18日 0 点赞 0 评论 802 浏览 评分:8.0
蓝桥杯2013年第四届真题-公式求值 (C语言代码) 摘要:解题思路其实我是错误答案,我只想问问哪错了,在低数值的情况下可以算出正确答案注意事项:不明白参考代码:#include<stdio.h>int fow(int i,int k);int j(int n…… 题解列表 2018年06月18日 2 点赞 11 评论 5730 浏览 评分:8.0
优质题解 回文数(一) (C++代码) 摘要:解题思路:使用递归 在递归的过程中判断结果是否是回文数 如果是回文数则输出对应的step如果超出8step输出0注意事项:在进行数值反转相加的之前需要对反转的数值先进行保存 防止修改了数据 后面还需要…… 题解列表 2018年06月28日 1 点赞 0 评论 3616 浏览 评分:8.0
优质题解 C语言程序设计教程(第三版)课后习题12.3 (C语言代码) 摘要:解题思路:为了原整数value用二进制表示后,从右数第n1位到第n2位不变,其余位变0,如n1=5,n2=9,可以得到如下图所示的一个二进制数(第三行),用它和value与,就可以取得所要的数。注意事…… 题解列表 2018年06月30日 8 点赞 2 评论 2390 浏览 评分:8.0