摘要: DescriptionA university network is composed of N computers. System administrators gathered information on the traffic between nodes, and carefully divided the network into two subnetworks in order to minimize traffic between parts. A disgruntled computer science student Vasya, after being expelled f 阅读全文
posted @ 2012-03-23 18:58 'wind 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFor a boat on a large body of water, strong currents can be dangerous, but with careful planning, they can be harnessed to help the boat reach its destination. Your job is to help in that planning.At each location, the current flows in some direction. The captain can choose to eit 阅读全文
posted @ 2012-03-23 13:09 'wind 阅读(233) 评论(0) 推荐(0) 编辑