摘要: Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning 阅读全文
posted @ 2016-07-29 19:42 头像好帅 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to vis 阅读全文
posted @ 2016-07-29 19:20 头像好帅 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Description Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, 阅读全文
posted @ 2016-07-23 13:30 头像好帅 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Description John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have al 阅读全文
posted @ 2016-07-21 21:47 头像好帅 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Description There is a cycle with its center on the origin. Now give you a point on the cycle, you are to find out the other two points on it, to maxi 阅读全文
posted @ 2016-07-21 21:41 头像好帅 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Description When playing DotA with god-like rivals and pig-like team members, you have to face an embarrassing situation: All your teammates are kille 阅读全文
posted @ 2016-07-21 21:36 头像好帅 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Submit Status Description “今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。 作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的 阅读全文
posted @ 2016-07-21 21:34 头像好帅 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as mu 阅读全文
posted @ 2016-07-21 21:30 头像好帅 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Description 给出了一个序列,你需要处理如下两种询问。 "C a b c"表示给[a, b]区间中的值全部增加c (-10000 ≤ c ≤ 10000)。 "Q a b" 询问[a, b]区间中所有值的和。 Description 给出了一个序列,你需要处理如下两种询问。 "C a b 阅读全文
posted @ 2016-07-21 21:28 头像好帅 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Description Lily 特别喜欢养花,但是由于她的花特别多,所以照料这些花就变得不太容易。她把她的花依次排成一行,每盆花都有一个美观值。如果Lily把某盆花照料的好的话,这盆花的美观值就会上升,如果照料的不好的话,这盆花的美观值就会下降。有时,Lily想知道某段连续的花的美观值之和是多少, 阅读全文
posted @ 2016-07-21 21:21 头像好帅 阅读(148) 评论(0) 推荐(0) 编辑