![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
蓝桥杯
算法
叮叮当当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 · 131 阅读 · 0 评论 -
拓扑排序-确定比赛名次(模板)(poj1285)
确定比赛名次 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 31471 Accepted Submission(s): 12398Problem Description 有N个比赛队(1<=N<=500),编...原创 2019-06-19 19:37:27 · 177 阅读 · 0 评论 -
拓扑排序-Genealogical tree(POJ 2367)
Genealogical tree Time Limit: 1000MS Memory Limit: 65536KDescription The system of Martians’ blood relations is confusing enough. Actually, Martians bud when they want and where they...原创 2019-06-19 19:38:02 · 148 阅读 · 0 评论 -
并查集-畅通工程(hdu1232)
畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 61521 Accepted Submission(s): 32946Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出...原创 2019-06-19 19:21:48 · 99 阅读 · 0 评论 -
并查集-Wireless Network (poj 2236)
Wireless Network Time Limit: 10000MS Memory Limit: 65536KDescription 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 · 145 阅读 · 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 · 167 阅读 · 0 评论 -
最短路-Dijksra
畅通工程续 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d &amp;amp; %I64u SubmitStatus use MathJax to parse formulas Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个...原创 2018-08-19 16:58:38 · 215 阅读 · 0 评论 -
并查集-The Suspects(POJ 1611)
The Suspects Time Limit: 1000MS Memory Limit: 20000KDescription Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat ...原创 2019-06-19 19:38:56 · 152 阅读 · 0 评论