排列 (C++代码) 摘要:#include<stdio.h> #include<iostream> #include<string> #include<algorithm> #include<cmath> using…… 题解列表 2018年08月22日 0 点赞 0 评论 1998 浏览 评分:0.0
生日日数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[12]={31,28,31,30,31,30,3…… 题解列表 2018年08月22日 0 点赞 0 评论 2211 浏览 评分:0.0
蓝桥杯算法提高VIP-洗牌 (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int cov(char ch) { if (ch == 'K') re…… 题解列表 2018年08月22日 0 点赞 0 评论 2469 浏览 评分:5.5
数列排序 (C++代码) 摘要:解题思路:这道题目很简单,不需要进行排序,从K9开始往前遍历,只要小于K1的就进行输出,然后标记已经输出过的数,剩下来的数完全不用排序了,只需要判断是否输出过,如果输出过就不用输出,反之输出;题目的要…… 题解列表 2018年08月22日 3 点赞 0 评论 1632 浏览 评分:8.0
密码截获 (C++代码)暴力吧 寻找最长回文串 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> #include <cstdio> using namespace std; int…… 题解列表 2018年08月22日 2 点赞 5 评论 1730 浏览 评分:9.8
马拦过河卒 (C++代码) 摘要:解题思路: 参考代码:#include<bits/stdc++.h> using namespace std; typedef long long LL; LL Dp[22][22],…… 题解列表 2018年08月21日 0 点赞 0 评论 1981 浏览 评分:0.0
蓝桥杯算法提高VIP-笨小猴 (C++代码)挺简单的水题 摘要:解题思路:看题目应该也可以理解了注意事项:参考代码:#include<iostream>#include<string.h>#include<string>#include<algorithm>#in…… 题解列表 2018年08月21日 10 点赞 0 评论 1926 浏览 评分:6.0
数据结构-求子串位置的定位函数 (C++代码) 摘要:解题思路:KMP算法比较快一点,这里用BF吧注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; int B…… 题解列表 2018年08月21日 2 点赞 0 评论 2605 浏览 评分:9.3
数据结构-定位子串 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; int BF(char *s,char *t…… 题解列表 2018年08月21日 2 点赞 0 评论 1660 浏览 评分:0.0