07 2015 档案
摘要:time limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Little Elephant loves playin...
阅读全文
摘要:time limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputDrazil is a monkey. He lives in ...
阅读全文
摘要:Rip Van Winkle was fed up with everything except programming. One day he found a problem whichrequired to perform three types of updat...
阅读全文
摘要:DescriptionPete and Bob invented a new interesting game. Bob takes a sheet of paper and locates a Cartesian coordinate system on it as...
阅读全文
摘要:Problem DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right t...
阅读全文
摘要:DescriptionThere is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the pos...
阅读全文
摘要:Description在操场上沿一直线排列着 n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆, 并将新的一堆石子数记为该次合并的得分。允许在第一次合并前对调一次相邻两堆石子的次序。 计算在上述条件下将n堆石子合并成一堆的最小得分。 ...
阅读全文
摘要:time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Chemistry, and speciall...
阅读全文
摘要:Mike is the president of country What-The-Fatherland. There are n bears living in this country besides Mike. All of them are standing ...
阅读全文
摘要:DescriptionA histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widt...
阅读全文
摘要:DescriptionBill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how go...
阅读全文
摘要:DescriptionSome of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy h...
阅读全文
摘要:D. Soldier and Number Gametime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo so...
阅读全文
摘要:Kyoya Ootori has a bag with n colored balls that are colored with k different colors. The colors are labeled from 1 to k. Balls of the...
阅读全文
摘要:Problem DescriptionHappy New Term!As having become a junior, xiaoA recognizes that there is not much time for her to AC problems, beca...
阅读全文
摘要:DescriptionDearboy was so busy recently that now he has piles of clothes to wash. Luckily, he has a beautiful and hard-working girlfri...
阅读全文
摘要:DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. ...
阅读全文
摘要:Problem DescriptionAfter months of hard working, Iserlohn finally wins awesome amount of scholarship. As a great zealot of sneakers, h...
阅读全文
摘要:Problem DescriptionACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from...
阅读全文
摘要:DescriptionThe cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They...
阅读全文