摘要:        
Ilya is very fond of graphs, especially trees. During his last trip to the forest Ilya found a very interesting tree rooted at vertex 1. There is an i    阅读全文
posted @ 2017-10-17 21:51
Z-Y-Y-S
阅读(571)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Mayor of Yusland just won the lottery and decided to spent money on something good for town. For example, repair all the roads in the town. Yusland co    阅读全文
posted @ 2017-10-17 19:41
Z-Y-Y-S
阅读(452)
评论(0)
推荐(0)
        
            
        
        
摘要:        
【问题描述】山山很喜欢旅行,他坐飞机的次数也非常非常多,所以他成为了空中司机航空公司的会员,并且有一张白金会员卡。山山规划了接下来一段时间的行程,他需要坐飞机 n 次,现在空中司机给了他 m 种优惠政策。对于第 i 种政策,山山可以花费 ci 元办理一张“Ti 日通飞证”,这样他就可以 在某个连续的    阅读全文
posted @ 2017-10-17 14:44
Z-Y-Y-S
阅读(247)
评论(0)
推荐(0)
        
            
        
        
摘要:        
An infinitely long railway has a train consisting of n cars, numbered from 1 to n (the numbers of all the cars are distinct) and positioned in arbitra    阅读全文
posted @ 2017-10-17 14:34
Z-Y-Y-S
阅读(262)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There are n watchmen on a    阅读全文
posted @ 2017-10-17 14:27
Z-Y-Y-S
阅读(344)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号