--------图论相关--------
文章平均质量分 90
kyoma
这个kyoma就是逊啦
展开
-
Codeforces 745C - Hongcow Builds A Nation 并查集乱搞,注意路径压缩
原题:http://codeforces.com/problemset/problem/745/C C. Hongcow Builds A Nation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output原创 2016-12-27 00:21:35 · 656 阅读 · 0 评论 -
POJ2240 Arbitrage BellmaFord判最短路回路
Arbitrage Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21764 Accepted: 9271 Description Arbitrage is the use of discrepancies in currency exchange rat原创 2016-12-29 21:50:20 · 396 阅读 · 0 评论 -
hdu4496 D-City 并查集
D-City Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 4015 Accepted Submission(s): 1440 Problem Description Luxer is a really b原创 2017-01-18 23:08:47 · 395 阅读 · 0 评论 -
Mutual Training for Wannafly Union #6 A(bfs)/B(规律)/E (并查集)
阿三们的oj呢,第一次印度的题。托这个服,根本查不到题解呢^q^。D题想了一半没有继续下去,太可惜了。。。。 有意思的阿三oj的题号居然不是数字,而是字母组成的,o mo shi ro i A - Grid (spoj id:SERGRID) You are on an nxm grid where each square on the grid has a digi原创 2017-03-09 15:31:12 · 552 阅读 · 0 评论 -
Educational Codeforces Round 31(ABCD):有向图求环长度/数据结构贪心
比赛地址 A. Book Reading time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Recently Luba bought a very interesting book. She know原创 2017-11-02 19:49:20 · 574 阅读 · 0 评论