蓝桥杯算法训练VIP-传纸条 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n,m,a[52][52],f[52][52][52][52]; …… 题解列表 2018年02月18日 0 点赞 0 评论 2427 浏览 评分:2.0
P1029 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int max_match(string …… 题解列表 2018年02月18日 2 点赞 0 评论 1880 浏览 评分:2.0
IP判断 (C++代码) 摘要:参考代码:#include <iostream> #include <string> using namespace std; int main() { string str; …… 题解列表 2018年02月17日 0 点赞 0 评论 2069 浏览 评分:0.0
DNA (C++代码) 摘要:参考代码:#include <iostream> using namespace std; int main() { int n,a,b,flag; cin>>n; …… 题解列表 2018年02月17日 0 点赞 0 评论 1901 浏览 评分:0.0
幸运儿 (C++代码) 摘要:#include <iostream> using namespace std; const int N = 51; int main() { int n; while (cin >>…… 题解列表 2018年02月17日 0 点赞 0 评论 2005 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要:参考代码:#include <iostream> using namespace std; int main() { int n; while(cin>>n){ …… 题解列表 2018年02月16日 0 点赞 0 评论 1864 浏览 评分:0.0
The 3n + 1 problem (C++代码) 摘要:参考代码:#include <iostream> using namespace std; int main() { int i,j,tot; while(cin>>i>>j…… 题解列表 2018年02月16日 2 点赞 3 评论 746 浏览 评分:0.0
蓝桥杯基础练习VIP-芯片测试 (C++代码) 解题思路:将每个芯片看成一份,一共n份,以列为单位,按行检索,将所有显示好芯片的份数保存下来,因为题目中说了好芯片一定比坏芯片多,我们假设一个极端情况:好芯片的判断结果都是对的,坏芯片的判断结果都是错的。即判断出来好芯片的份数一定占所有判断结果的多数,结果才可信。 题解列表 2018年02月14日 2 点赞 4 评论 2130 浏览 评分:8.0
蓝桥杯历届试题-蚂蚁感冒 (C++代码) 摘要:解题思路:看了题解在做的题目,完全摸不着头绪,最后得到 数目 = 左边右走的+右边左走的;大概模拟了下,发现病蚂蚁并不是 左边右走的所有蚂蚁,这类题估计要想出模拟状态注意事项:参考代码:#includ…… 题解列表 2018年02月14日 0 点赞 0 评论 1460 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C++代码) 摘要:参考代码:#include<iostream> #include<cmath> #include<algorithm> using namespace std ; struct m { …… 题解列表 2018年02月14日 0 点赞 0 评论 2264 浏览 评分:0.0