蓝桥杯算法提高VIP-三个整数的排序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a[3]; …… 题解列表 2019年01月20日 0 点赞 0 评论 738 浏览 评分:0.0
蓝桥杯算法提高VIP-约数个数 (C++代码) 摘要:解题思路:在1到输入的数(包括端点值)找输入的数可以整除的数并将个数记录;注意事项:参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2019年01月20日 1 点赞 0 评论 747 浏览 评分:9.9
震宇大神的杀毒软件 (C++代码) 摘要:解题思路:C++Vector容器求解。注意事项:参考代码:#include <iostream> #include <algorithm> #include <vector> using nam…… 题解列表 2019年01月19日 0 点赞 0 评论 1024 浏览 评分:7.6
The 3n + 1 problem (C++代码) 摘要:解题思路:将每一个区间内的数进行运算,找出其中循环次数最多的那一个注意事项:/*1 41 4 84 14 1 85 15 1 86 16 1 9 7 17 1 17*/先后输入的俩个数需要比大小让小的…… 题解列表 2019年01月19日 0 点赞 0 评论 439 浏览 评分:0.0
字符逆序 (C++代码) 摘要:解题思路:把数组逆序输出注意事项:有空格,用gets()输入cin不识别控制符参考代码:#include<iostream>#include<string.h>#include<cstdio>usin…… 题解列表 2019年01月19日 0 点赞 0 评论 646 浏览 评分:0.0
用筛法求之N内的素数。 (C++代码) 摘要:解题思路:利用标志来寻找其是否有其他因子注意事项:1不是素数参考代码:#include<iostream>using namespace std;int main(){ int m,n,i,j;…… 题解列表 2019年01月19日 0 点赞 0 评论 546 浏览 评分:0.0
Hello, world! (C++代码) 摘要:解题思路:利用强制类型转换注意事项:c++有默认的文件结束参考代码:#include<iostream>using namespace std;int main(){ int a; w…… 题解列表 2019年01月19日 0 点赞 0 评论 601 浏览 评分:0.0
蓝桥杯2017年第八届真题-包子凑数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <cstdio>#define MAXN 10010 //最多凑出的包子个…… 题解列表 2019年01月19日 4 点赞 0 评论 1010 浏览 评分:8.0
蓝桥杯基础练习VIP-高精度加法 (C++代码)模拟手算 摘要:解题思路: 简单的模拟手算的过程。 不懂的看注释参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=100…… 题解列表 2019年01月17日 0 点赞 0 评论 895 浏览 评分:8.0
程序员爬楼梯 (C++代码)DFS 摘要:解题思路: 直接深度一下解决,爬楼梯的变种题目....难度没啥的。参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(fa…… 题解列表 2019年01月17日 1 点赞 0 评论 1025 浏览 评分:0.0