随笔分类 - 算法-图论
摘要:Description A rooted tree is a well-known data structure in computer science and engineering. An example is shown below: In the figure, each node is l
阅读全文
摘要:Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 2061 Solved: 1184 Description OI island是一个非常漂亮的岛屿,自开发以来,到这儿来旅游的人很多。然而,由于该岛屿刚刚开发不久,所以那里的交通情况还是很糟糕。所以,OIE
阅读全文
摘要:Earth Hour Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 125536/65536 K (Java/Others)Total Submission(s): 1970 Accepted Submission(s): 781 Prob
阅读全文
摘要:Idiomatic Phrases Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3504 Accepted Submission(s
阅读全文
摘要:二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu POJ 3662 二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld
阅读全文
摘要:H - Brain Network (medium) Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 690C2 H - Brain Network (medium) Time Limi
阅读全文
摘要:这一周学的图论,学了这么些 两种存图的方法:邻接矩阵( map[n][n] ) , 邻接表( headlis[n] , vector<int> G[n] )存图的方法,各有各的好,我的理解是,如果不是那种非常稠密的图,类似于完全图这样的图,邻接表一般会快很多,毕竟减少了边的遍历。 最小生成树 kru
阅读全文
摘要:H - Funny Car Racing Time Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %llu H - Funny Car Racing Time Limit:1000MS Memory Limit:0KB 64bit IO F
阅读全文
摘要:D - Invitation Cards Time Limit:8000MS Memory Limit:262144KB 64bit IO Format:%lld & %llu Description In the age of television, not many people attend
阅读全文
摘要:Frogger Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Frogger Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu
阅读全文
摘要:Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description
阅读全文
摘要:Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description Bess
阅读全文
摘要:D - Find a way Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u D - Find a way Description Pass a year learning in Hangzhou, yifen
阅读全文

浙公网安备 33010602011771号