摘要: HDU 1599 find the mincost route Problem Description 杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这个路线从A点出发并且最后回到A点,假设经过的路线为V1,V2,....VK,V1,那么必须满足K 2,就是说至除了出发 阅读全文
posted @ 2018-08-08 21:14 caomp 阅读(164) 评论(0) 推荐(0)
摘要: HDU1384 Intervals Problem Description You are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn. Write a program that: \ reads the 阅读全文
posted @ 2018-08-08 20:55 caomp 阅读(194) 评论(0) 推荐(0)
摘要: HDU 1874 畅通工程续 Problem Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。 现在,已知起点和终点,请你计算出要 阅读全文
posted @ 2018-08-08 20:25 caomp 阅读(121) 评论(0) 推荐(0)
摘要: Free DIY Tour Problem Description Weiwei is a software engineer of ShiningSoft. He has just excellently fulfilled a software project with his fellow w 阅读全文
posted @ 2018-08-08 20:13 caomp 阅读(143) 评论(0) 推荐(0)
摘要: HDU1289 带权并查集 Problem Description Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they featu 阅读全文
posted @ 2018-08-08 20:06 caomp 阅读(210) 评论(0) 推荐(0)