zhber
有好多做过的题没写下来,如果我还能记得就补吧
摘要: DescriptionJohn在他的农场中闲逛时发现了许多虫洞。虫洞可以看作一条十分奇特的有向边,并可以使你返回到过去的一个时刻(相对你进入虫洞之前)。John的每个农场有M条小路(无向边)连接着N (从1..N标号)块地,并有W个虫洞。其中1#includeint n,m,w,cnt,len,he... 阅读全文
posted @ 2014-06-16 22:23 zhber 阅读(265) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John is trying to figure out when his last shipment of feed arrived. Starting with an empty grain bin, he ordered and received F1 (1... 阅读全文
posted @ 2014-06-16 00:01 zhber 阅读(205) 评论(0) 推荐(0) 编辑