摘要: Bad Cowtractors Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10194 Accepted: 4333 Description Bessie has been hired to build a cheap int 阅读全文
posted @ 2017-07-13 10:13 hdsmwww 阅读(183) 评论(0) 推荐(0)
摘要: Agri-Net Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 22125 Accepted: 8681 Description Farmer John has been elected mayor of his town! O 阅读全文
posted @ 2017-07-13 10:09 hdsmwww 阅读(147) 评论(0) 推荐(0)
摘要: 最小生成树-prim&kruskal Prim算法 1.概览 普里姆算法(Prim算法),图论中的一种算法,可在加权连通图里搜索最小生成树。意即由此算法搜索到的边子集所构成的树中,不但包括了连通图里的所有顶点(英语:Vertex (graph theory)),且其所有边的权值之和亦为最小。该算法于 阅读全文
posted @ 2017-07-12 10:49 hdsmwww 阅读(143) 评论(0) 推荐(0)
摘要: poj 1036 Gangsters Description N gangsters are going to a restaurant. The i-th gangster comes at the time Ti and has the prosperity Pi. The door of th 阅读全文
posted @ 2017-07-10 10:38 hdsmwww 阅读(137) 评论(0) 推荐(0)
摘要: POJ 1952 BUY LOW, BUY LOWER Description The advice to "buy low" is half the formula to success in the bovine stock market.To be considered a great inv 阅读全文
posted @ 2017-07-08 15:38 hdsmwww 阅读(201) 评论(0) 推荐(0)