随笔分类 -  ZOJ

http://acm.zju.edu.cn/onlinejudge/
摘要:Count the ColorsTime Limit:2 Seconds Memory Limit:65536 KBPainting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your task is counting the segments of different colors you can see at last.InputThe first line of each data set contains exa 阅读全文
posted @ 2013-12-04 19:16 ~~Snail~~ 阅读(230) 评论(0) 推荐(0)
摘要:ZOJ 1610:http://www.cnblogs.com/lzj-0218/p/3458222.htmlZOJ 3551: http://www.cnblogs.com/lzj-0218/p/3219716.html 阅读全文
posted @ 2013-07-27 17:01 ~~Snail~~ 阅读(131) 评论(0) 推荐(0)
摘要:BloodsuckerTime Limit:2 Seconds Memory Limit:65536 KBIn 0th day, there aren-1people and 1 bloodsucker. Every day, two and only two of them meet. Nothing will happen if they are of the same species, that is, a people meets a people or a bloodsucker meets a bloodsucker. Otherwise, people may be transf 阅读全文
posted @ 2013-07-27 16:32 ~~Snail~~ 阅读(444) 评论(0) 推荐(0)