蓝桥杯算法提高VIP-特殊的质数肋骨 (C++代码) 摘要:解题思路:构造长度为n的数,当不满足条件时,就没有必要再构造了。注意事项:1要特殊处理参考代码:#include <bits/stdc++.h> using namespace std; map<…… 题解列表 2019年03月09日 0 点赞 0 评论 1403 浏览 评分:0.0
蓝桥杯2013年第四届真题-错误票据 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int data[10000];void i2s(string &temp,int …… 题解列表 2019年03月09日 0 点赞 0 评论 1022 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1,str2; getlin…… 题解列表 2019年03月09日 1 点赞 0 评论 926 浏览 评分:0.0
蓝桥杯算法提高VIP-单词个数统计 (C++代码) 摘要:解题思路:利用stringstream流来解决注意事项:本题题目中的”单词之间相隔一个空格“有错误,正确是单词之间可以相隔任意个空格参考代码:#include <iostream>#include<s…… 题解列表 2019年03月09日 0 点赞 2 评论 603 浏览 评分:0.0
字符串的输入输出处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const int maxn = 1e6+10;…… 题解列表 2019年03月08日 0 点赞 0 评论 1053 浏览 评分:0.0
EXCEL排序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<bits/stdc++.h>#include<cstdio>#include<cstring>#include<al…… 题解列表 2019年03月08日 0 点赞 0 评论 2127 浏览 评分:0.0
字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1; string…… 题解列表 2019年03月08日 0 点赞 0 评论 1195 浏览 评分:0.0
P1017 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f[1001]; //a的朋友是f[a]; int findro…… 题解列表 2019年03月07日 0 点赞 0 评论 1285 浏览 评分:0.0
汽水瓶 (C++代码) 两种思路 摘要:解题思路:这道题其实有两种思路 1.先向老板借N/2个瓶子,然后换N/2瓶汽水,然后把喝完的N/2个汽水瓶还给老板 2.每3个汽水瓶向老…… 题解列表 2019年03月07日 0 点赞 0 评论 1390 浏览 评分:2.1
蓝桥杯2017年第八届真题-k倍区间 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstdio> #include <cstring> using namespace std; #de…… 题解列表 2019年03月07日 0 点赞 2 评论 2365 浏览 评分:8.0