bzoj1821 [JSOI2010]Group 部落划分 Group
摘要:Description聪聪研究发现,荒岛野人总是过着群居的生活,但是,并不是整个荒岛上的所有野人都属于同一个部落,野人们总是拉帮结派形成属于自己的部落,不同的部落之间则经常发生争斗。只是,这一切都成为谜团了——聪聪根本就不知道部落究竟是如何分布的。 不过好消息是,聪聪得到了一份荒岛的地图。地图上标注...
阅读全文
posted @
2014-07-18 22:57
zhber
阅读(266)
推荐(0)
bzoj1734 [Usaco2005 feb]Aggressive cows 愤怒的牛
摘要:DescriptionFarmer John has built a new long barn, with N (2 #includeusing namespace std;inline int read(){ int x=0,f=1;char ch=getchar(); while(...
阅读全文
posted @
2014-07-09 21:16
zhber
阅读(200)
推荐(0)
cf444A DZY Loves Physics
摘要:A. DZY Loves Physicstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves Physics, and he enj...
阅读全文
posted @
2014-07-07 00:00
zhber
阅读(182)
推荐(0)
cf442C Artem and Array
摘要:C. Artem and Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArtem has an array ofnpositive...
阅读全文
posted @
2014-06-20 17:34
zhber
阅读(250)
推荐(0)
bzoj1680[Usaco2005 Mar]Yogurt factory
摘要:DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 inline int read(){ int x=0,f=1;char ch...
阅读全文
posted @
2014-06-15 23:30
zhber
阅读(186)
推荐(0)
cf437B The Child and Set
摘要:B. The Child and Settime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAt the children's day, the ch...
阅读全文
posted @
2014-06-01 23:41
zhber
阅读(260)
推荐(0)