并查集解决食物链问题,p88 摘要: #include using namespace std; static const int MAX = 5000; static co…… 文章列表 2020年02月27日 0 点赞 0 评论 437 浏览 评分:8.0
并查集实现 摘要: #include using namespace std; static const int MAX = 5000; static co…… 文章列表 2020年02月27日 0 点赞 0 评论 523 浏览 评分:0.0
希尔排序,shellSort 摘要: #include #include using namespace std; static const int MAX = 5000; …… 文章列表 2020年02月26日 0 点赞 0 评论 570 浏览 评分:0.0
求三个数中的最大数 摘要: #include #include using namespace std; int max(int i,int j) { return(i>j?i:j); } int…… 文章列表 2020年02月26日 0 点赞 0 评论 471 浏览 评分:0.0
快速排序,quickSort 摘要: #include #include using namespace std; static const int MAX = 5000; …… 文章列表 2020年02月25日 0 点赞 0 评论 622 浏览 评分:9.9
归并排序,merge,分治法 摘要: #include #include using namespace std; static const int MAX = 5000; …… 文章列表 2020年02月24日 0 点赞 0 评论 587 浏览 评分:0.0
冒泡排序法 摘要: #include using namespace std; static const int MAX = 5000; int n; …… 文章列表 2020年02月24日 0 点赞 0 评论 624 浏览 评分:9.9
对 问题 1670: 拆分位数 的C语言巧♂妙操作 摘要:我们都知道,[问题 1670: 拆分位数](https://www.dotcpp.com/oj/problem1670.html "问题 1670: 拆分位数") 这个大概意思就是给你一个三位数,然后…… 文章列表 2020年02月24日 0 点赞 3 评论 328 浏览 评分:9.9
面试题【剑指】:如何不适用循环,整除,条件判断语句实现1+2+3+……n 摘要:> 题目:求1+2+……+n,要求不能使用整除法,for,while,if,else,switch,case等循环关键字及条件判断语句(A?B:C) 当没有这个限制需求的时候,这个题目极其简单,…… 文章列表 2020年02月23日 0 点赞 0 评论 711 浏览 评分:9.2
开关问题,p150 摘要: #include #include #include using namespace std; static const int MAX = 50…… 文章列表 2020年02月20日 0 点赞 0 评论 416 浏览 评分:0.0