随笔分类 -  网络流

摘要:时间限制: 1 Sec 内存限制: 256 MB题目描述恬恬的生日临近了。宇扬给她准备了一个大蛋糕。正如往常一样,宇扬在蛋糕上插了n支蜡烛,并把蛋糕分为m个区域。因为某种原因,他必须把第i根蜡烛插在第ai个区域或第bi个区域。区域之间是不相交的。宇扬在一个区域内同时... 阅读全文
posted @ 2018-08-02 20:42 Assassin_poi君 阅读(185) 评论(0) 推荐(0) 编辑
摘要:Tom and Jerry are playing a game with tubes and pearls. The rule of the game is:1) Tom and Jerry come up together with a number K.2) T... 阅读全文
posted @ 2018-07-16 20:17 Assassin_poi君 阅读(122) 评论(0) 推荐(0) 编辑
摘要:2012 If this is the end of the world how to do? I do not know how. But now scientists have found that some stars, who can live, but ... 阅读全文
posted @ 2018-07-13 16:30 Assassin_poi君 阅读(116) 评论(0) 推荐(0) 编辑
摘要:Your platoon of wandering lizards has entered a strange room in the labyrinth you are exploring. As you are looking around for hidde... 阅读全文
posted @ 2018-07-10 12:23 Assassin_poi君 阅读(137) 评论(0) 推荐(0) 编辑
摘要:You, the head of Department of Security, recently received a top-secret information that a group of terrorists is planning to transpor... 阅读全文
posted @ 2018-07-09 16:27 Assassin_poi君 阅读(121) 评论(0) 推荐(0) 编辑
摘要:In the vast waters far far away, there are many islands. People are living on the islands, and all the transport among the islands rel... 阅读全文
posted @ 2018-07-08 20:18 Assassin_poi君 阅读(169) 评论(0) 推荐(0) 编辑
摘要:A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supp... 阅读全文
posted @ 2018-07-08 12:40 Assassin_poi君 阅读(152) 评论(0) 推荐(0) 编辑
摘要:Dearboy, a goods victualer, now comes to a big problem, and he needs your help. In his sale area there are N shopkeepers (marked from ... 阅读全文
posted @ 2018-07-07 21:07 Assassin_poi君 阅读(169) 评论(0) 推荐(0) 编辑
摘要:On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or... 阅读全文
posted @ 2018-07-07 18:19 Assassin_poi君 阅读(127) 评论(0) 推荐(0) 编辑
摘要:You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX),... 阅读全文
posted @ 2018-07-06 18:14 Assassin_poi君 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others. ... 阅读全文
posted @ 2018-07-06 16:06 Assassin_poi君 阅读(126) 评论(0) 推荐(0) 编辑
摘要:As you know, all the computers used for ACM contests must be identical, so the participants compete on equal terms. That is why all these computers ar 阅读全文
posted @ 2018-06-23 16:48 Assassin_poi君 阅读(198) 评论(0) 推荐(0) 编辑
摘要:As you know, all the computers used for ACM contests must be identical, so the participants compete on equal terms. ... 阅读全文
posted @ 2018-06-23 16:32 Assassin_poi君 阅读(128) 评论(0) 推荐(0) 编辑
摘要:1000ms ... 阅读全文
posted @ 2018-06-11 22:40 Assassin_poi君 阅读(195) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示