[编程入门]数字的处理与判断-题解(C++代码) 摘要:原题链接:[[编程入门]数字的处理与判断](https://www.dotcpp.com/oj/problem1009.htm) ------------ ###### 解题思路: …… 题解列表 2019年10月13日 0 点赞 4 评论 1137 浏览 评分:9.6
蓝桥杯算法训练VIP-邮票-题解(C++代码) 高效率 摘要:解题思路:动态规划 暴力dfs耗时 300+ms 动态规划耗时 <1ms 参考代码: ```cpp #include #define min(a,b)a>b?b:a using …… 题解列表 2019年10月12日 0 点赞 0 评论 1622 浏览 评分:9.7
自由下落的距离计算-题解(C++代码)【找规律】【注意减去最后弹起的值】 摘要: #include #include #include #include using namespace std; int main() …… 题解列表 2019年10月12日 0 点赞 1 评论 1226 浏览 评分:6.0
有规律的数列求和-题解(C++代码)【将分子与分母分开来解】【从第二个分数开始】 摘要: #include #include #include #include using namespace std; int main() …… 题解列表 2019年10月12日 0 点赞 3 评论 2530 浏览 评分:9.9
优质题解 [递归]母牛的故事-题解(C++代码)(递推方式) 摘要:# 母牛的故事——由递归到递推 我们都知道递推(动态规划)是递归(搜索)的反向操作,本题虽然注明“【递归】”,但同样可以用递推方式解决本题。 由于本题很多题解都详细讲解了递归的方式,那么这篇题…… 题解列表 2019年10月12日 0 点赞 8 评论 5358 浏览 评分:7.8
猴子吃桃的问题-题解(C++代码)【逆向思考 反向求解】 摘要: #include include using namespace std; int main() { int a=1,n; s…… 题解列表 2019年10月12日 0 点赞 3 评论 1328 浏览 评分:7.3
蓝桥杯算法提高VIP-聪明的美食家 (线性复杂度) 摘要:``` #include #include using namespace std; const int N=1010; int f[N],g[N]; int main(){ int …… 题解列表 2019年10月12日 0 点赞 0 评论 884 浏览 评分:9.9
数据结构-KMP算法中的模式串移动数组-题解(C++代码) 摘要:``` #include #include using namespace std; const int N=110; int Next[N]; void GetNext(char T[]…… 题解列表 2019年10月11日 0 点赞 1 评论 1107 浏览 评分:8.0
数据结构-KMP字符串模式匹配算法实现-题解(KMP算法实现) 摘要:``` #include #include using namespace std; const int N=110; int Next[N];//失效函数 void GetNext(ch…… 题解列表 2019年10月11日 0 点赞 0 评论 1644 浏览 评分:9.9
电报加密 (C++代码)【有空格】 摘要: #include #include #include #include #include int main() { …… 题解列表 2019年10月11日 0 点赞 0 评论 2238 浏览 评分:9.0