AmazingCounters.com
摘要: DescriptionTeacher Mai has a kingdom. A monster has invaded this kingdom, and Teacher Mai wants to kill it.Monster initially has h HP. And it will die... 阅读全文
posted @ 2015-01-07 20:11 philippica 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Though ZCC has many Fans, ZCC himself is a crazy Fan of a coder, called "Memset137".It was on Codefires(CF), an online competitive programming site, t... 阅读全文
posted @ 2015-01-07 16:13 philippica 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Description一次考试共有n个人参加,第i个人说:“有ai个人分数比我高,bi个人分数比我低。”问最少有几个人没有说真话(可能有相同的分数)Input第一行一个整数n,接下来n行每行两个整数,第i+1行的两个整数分别代表ai、biOutput一个整数,表示最少有几个人说谎Sample Inp... 阅读全文
posted @ 2015-01-07 15:08 philippica 阅读(313) 评论(0) 推荐(0) 编辑