摘要: 畅通工程再续Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1875Description相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRush对百岛湖的情况充分了解后,决定在符合条件的小岛间建上桥,所谓符合条件,就是2个小岛之间的距离不能小于10米,也不能大于1000米。当然,为了 阅读全文
posted @ 2013-08-16 09:54 围剿大叔 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 畅通工程Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1863Description省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可)。经过调查评估,得到的统计表中列出了有可能建设公路的若干条道路的成本。现请你编写程序,计算出全省畅通需要的最低成本。Input测试输入包含若干测试用例。每个测试用例的第1行给出评估的道路条数 N、村庄数目M ( #include using namesp 阅读全文
posted @ 2013-08-14 17:52 围剿大叔 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 还是畅通工程Time Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1233Description某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可),并要求铺设的公路总长度为最小。请计算最小的公路总长度。Input测试输入包含若干测试用例。每个测试用例的第1行给出村庄数目N ( #include #include #define MA 阅读全文
posted @ 2013-08-14 16:27 围剿大叔 阅读(177) 评论(0) 推荐(0) 编辑
摘要: A -Constructing RoadsTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1102DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and B a 阅读全文
posted @ 2013-08-13 11:14 围剿大叔 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 心情都愉悦了 阅读全文
posted @ 2013-08-11 09:11 围剿大叔 阅读(249) 评论(0) 推荐(0) 编辑
摘要: A - BracketsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2955DescriptionWe give the following inductive definition of a “regular brackets” sequence:the empty sequence is a regular brackets sequence,if s is a regular brackets sequence, then (s) an 阅读全文
posted @ 2013-08-10 13:57 围剿大叔 阅读(159) 评论(0) 推荐(0) 编辑
摘要: D. Loggingtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe main server of Gomble company received a log of one top-secret process, the name of which can't be revealed. The log was written in the following format: «[date:time]: message& 阅读全文
posted @ 2013-08-10 09:32 围剿大叔 阅读(174) 评论(2) 推荐(0) 编辑
摘要: 之前在windows 上是用的wlr貌似听说linux上的blogilo也很强大,刚刚配置的好心酸先地址填这个http://www.cnblogs.com/Blog名/services/metaweblog.aspx注意这个时候千万别按获取要先点高级,然后选择MetaWebBlog API再点获取 确认试试这个第一篇用Blogilo发布的日志吧 阅读全文
posted @ 2013-08-09 23:39 围剿大叔 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Temporary-Post-Used-For-Style-Detection-Content-745935782 阅读全文
posted @ 2013-08-09 23:38 围剿大叔 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Temporary-Post-Used-For-Style-Detection-Content-14513949 阅读全文
posted @ 2013-08-09 23:34 围剿大叔 阅读(118) 评论(0) 推荐(0) 编辑