蓝桥杯算法提高VIP-五次方数 (C++代码) 摘要:注意事项:0和1不算五次方数 #include"bits/stdc++.h" using namespace std; int a[100001]; int main() { for…… 题解列表 2018年06月14日 2 点赞 0 评论 1162 浏览 评分:7.5
蓝桥杯算法训练VIP-判定字符位置 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int f(char ch) { if(ch…… 题解列表 2018年06月14日 0 点赞 0 评论 916 浏览 评分:0.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 评论 1054 浏览 评分:8.0
DNA (C++描述,拆分图形) 摘要:解题思路:图形可以分成四个部分,i<n/2+1 i==n/2+1 i>n/2+1 和末尾x x注意事项: 真tm坑 输出x 要求是大写的 参考代码:…… 题解列表 2018年06月14日 1 点赞 0 评论 510 浏览 评分:0.0
钟神赛车 (C++代码) 摘要:将输入的数据由小到大排序一遍,将钟神的速度最慢的和某君速度最快的相比,然后再按照速度 由小到大让两人直接相比即可。 #include"bits/stdc++.h" using namespa…… 题解列表 2018年06月14日 3 点赞 2 评论 605 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C++代码) 摘要:解题思路:运用string定义数组保存0-20的英文,再储存30,40,50的英文储存到str[30],str[40],str[50], 再输入h,m,判断h,m是否小于等于20,如果小于则直接输出…… 题解列表 2018年06月14日 2 点赞 0 评论 798 浏览 评分:0.0
新手代码,非常容易理解 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int main() { int v1,v2,t,s,l; cin>>v1>>v2>>t>>s>…… 题解列表 2018年06月14日 2 点赞 0 评论 749 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,m; cin>>n>>m; for…… 题解列表 2018年06月13日 0 点赞 0 评论 473 浏览 评分:0.0
蓝桥杯算法提高VIP-输出九九乘法表 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[9]; for(int i=1;i<=…… 题解列表 2018年06月13日 0 点赞 0 评论 775 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { int a; …… 题解列表 2018年06月13日 0 点赞 0 评论 766 浏览 评分:0.0