2015年8月17日

POJ 3468 A Simple Problem with Integers

摘要: A Simple Problem with IntegersDescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation i... 阅读全文

posted @ 2015-08-17 17:40 焰 阅读(136) 评论(0) 推荐(0) 编辑

HDU 5253 连接的管道(prim+优先队列)

摘要: 连接的管道Problem Description老 Jack 有一片农田,以往几年都是靠天吃饭的。但是今年老天格外的不开眼,大旱。所以老 Jack 决定用管道将他的所有相邻的农田全部都串联起来,这样他就可以从远处引水过来进行灌溉了。当老 Jack 买完所有铺设在每块农田内部的管道的时候,老 Jack... 阅读全文

posted @ 2015-08-17 09:49 焰 阅读(269) 评论(0) 推荐(0) 编辑

导航