摘要:
Drainage DitchesTime Limit:1000MSMemory Limit:10000KTotal Submissions:49349Accepted:18689DescriptionEvery time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile ... 阅读全文
摘要:
PIGSTime Limit:1000MSMemory Limit:10000KTotal Submissions:14239Accepted:6330DescriptionMirko works on a pig farm that consists of M locked pig-houses and Mirko can't unlock any pighouse because he doesn't have the keys. Customers come to the farm one a... 阅读全文
摘要:
A Simple Problem with IntegersTime Limit:5000MSMemory Limit:131072KTotal Submissions:47204Accepted:13856Case Time Limit:2000MSDescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add so... 阅读全文
摘要:
BillboardTime Limit: 20000/8000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7653Accepted Submission(s): 3398Problem DescriptionAt the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its widt... 阅读全文
摘要:
Buy TicketsTime Limit:4000MSMemory Limit:65536KTotal Submissions:10677Accepted:5173DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year was approaching, but u... 阅读全文
摘要:
Mayor's postersTime Limit:1000MSMemory Limit:65536KTotal Submissions:34731Accepted:10072DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places ... 阅读全文
摘要:
Who Gets the Most Candies?Time Limit:5000MSMemory Limit:131072KTotal Submissions:8055Accepted:2406Case Time Limit:2000MSDescriptionNchildren are sitting in a circle to play a game.The children are numbered from 1 toNin clockwise order. Each of them has a card with ... 阅读全文
摘要:
MatrixTime Limit:3000MSMemory Limit:65536KTotal Submissions:15090Accepted:5662DescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, j] = 0 (1 b。 a... 阅读全文
摘要:
CowsTime Limit:3000MSMemory Limit:65536KTotal Submissions:10236Accepted:3351DescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is partic... 阅读全文
摘要:
StarsTime Limit:1000MSMemory Limit:65536KTotal Submissions:26835Accepted:11712DescriptionAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount... 阅读全文