摘要:
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Dima misbehaved during a math lesson a lot... 阅读全文
摘要:
DescriptionInhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunteered and has promised t... 阅读全文
摘要:
ProblemIn a kingdom there are prison cells (numbered 1 toP) built to form a straight line segment. Cells numberiandi+1are adjacent, and prisoners in a... 阅读全文
摘要:
DescriptionBessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home ... 阅读全文
摘要:
One of the greatest alchemists of the lower Middle Renaissance, Algernon da Vinci (one of Leonardo's lesserknown cousins), had the foresight to constr... 阅读全文
摘要:
DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located... 阅读全文
摘要:
DescriptionChristine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.The players take... 阅读全文