蓝桥杯算法提高VIP-交换Easy (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1005; int a[M]={0}; int main(…… 题解列表 2018年04月01日 0 点赞 0 评论 1065 浏览 评分:0.0
蓝桥杯算法提高VIP-一元一次方程 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { double a,b; while(cin>>a>…… 题解列表 2018年04月01日 0 点赞 0 评论 1061 浏览 评分:0.0
筛排处理 (C++代码) 摘要:解题思路:可以用set来写 set自带去重和排序功能注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { …… 题解列表 2018年04月01日 0 点赞 0 评论 1753 浏览 评分:0.0
妹子杀手的故事 (C++描述,vector) 摘要:解题思路:while循环输入喽,保存。注意事项:没说多少组,你可以放到大点的数组。vector还是比较好的。参考代码:#include<iostream>#include<string>#includ…… 题解列表 2018年03月31日 0 点赞 0 评论 1457 浏览 评分:0.0
IP判断 (C++代码) 摘要:解题思路:读入一行,按“.”分开,接下来如果是字母,输出N;如果是数字,进行判断。注意事项:string流的应用,string与int的转换,统计思想。参考代码:#include<iostream>#…… 题解列表 2018年03月31日 0 点赞 0 评论 974 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; const …… 题解列表 2018年03月31日 0 点赞 0 评论 1862 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:_ueditor_page_break_tag_#include <iostream> using namespace std; int main() { int n, sum =…… 题解列表 2018年03月31日 0 点赞 0 评论 1819 浏览 评分:0.0
蓝桥杯历届试题-核桃的数量 (C++代码) 摘要:#include<iostream> using namespace std; int f(int a,int b){ return b?f(b,a%b):a; } int main(){…… 题解列表 2018年03月30日 1 点赞 0 评论 1190 浏览 评分:0.0
蓝桥杯历届试题-打印十字图 (C++代码) 摘要:/* ..$$$$$$$$$$$$$.. ..$...........$.. $$$.$$$$$$$$$.$$$ $...$.......$...$ $.$$$.$$$$$.$$$.$ $…… 题解列表 2018年03月30日 1 点赞 0 评论 1430 浏览 评分:0.0
玉龙学长买雪糕 (C++代码) 摘要:#include<stdio.h>int n;int a[50];int main(){ a[1]=1; scanf("%d",&n); int sum=1; for(int i=2;i<=n;i++…… 题解列表 2018年03月30日 0 点赞 0 评论 1414 浏览 评分:0.0