
蓝桥杯
算法
叮叮当当0543
这个人很懒,什么也没写...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
拓扑排序-产生冠军(hdu 2094)
产生冠军 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。 球赛的规则如下: 如果A打败了B,B又打败了C,而A与C之间没有进行过比赛,那么就认定,A一定能打败C...原创 2019-06-19 19:31:00 · 180 阅读 · 0 评论 -
拓扑排序-确定比赛名次(模板)(poj1285)
确定比赛名次 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 31471 Accepted Submission(s): 12398 Problem Description 有N个比赛队(1<=N<=500),编...原创 2019-06-19 19:37:27 · 218 阅读 · 0 评论 -
拓扑排序-Genealogical tree(POJ 2367)
Genealogical tree Time Limit: 1000MS Memory Limit: 65536K Description The system of Martians’ blood relations is confusing enough. Actually, Martians bud when they want and where they...原创 2019-06-19 19:38:02 · 182 阅读 · 0 评论 -
并查集-畅通工程(hdu1232)
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 61521 Accepted Submission(s): 32946 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出...原创 2019-06-19 19:21:48 · 127 阅读 · 0 评论 -
并查集-Wireless Network (poj 2236)
Wireless Network Time Limit: 10000MS Memory Limit: 65536K Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless netwo...原创 2019-06-19 19:37:48 · 193 阅读 · 0 评论 -
Floyd最短路算法
码字不容易啊,转载麻烦注明出处 【一周一算法】算法6:只有五行的Floyd最短路算法 http://bbs.ahalei.com/thread-4554-1-1.html (出处: 啊哈磊_编程从这里起步) C - Six Degrees of Cowvin Bacon Time Limit:1000MS Memory Limit:65536KB 64bit IO For...转载 2018-08-20 10:57:04 · 189 阅读 · 0 评论 -
最短路-Dijksra
畅通工程续 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d &amp;amp; %I64u Submit Status use MathJax to parse formulas Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个...原创 2018-08-19 16:58:38 · 269 阅读 · 0 评论 -
并查集-The Suspects(POJ 1611)
The Suspects Time Limit: 1000MS Memory Limit: 20000K Description Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat ...原创 2019-06-19 19:38:56 · 191 阅读 · 0 评论