上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页
摘要: Cantoring AlongTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3105Accepted: 1704DescriptionThe Cantor set was discovered by Georg Cantor. It is one of the simpler fractals. It is the result of an infinite process, so for this program, printing an approximation of the whole set is enough. T 阅读全文
posted @ 2011-11-22 13:42 w0w0 阅读(232) 评论(0) 推荐(0)
摘要: A Simple Question of ChemistryTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5583Accepted: 3707DescriptionYour chemistry lab instructor is a very enthusiastic graduate student who clearly has forgotten what their undergraduate Chemistry 101 lab experience was like. Your instructor has come 阅读全文
posted @ 2011-11-22 13:41 w0w0 阅读(200) 评论(0) 推荐(0)
摘要: Pascal LibraryTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3291Accepted: 1615DescriptionPascal University, one of the oldest in the country, needs to renovate its Library Building, because after all these centuries the building started to show the effects of supporting the weight of the 阅读全文
posted @ 2011-11-22 13:13 w0w0 阅读(225) 评论(0) 推荐(0)
摘要: Sequence Sum PossibilitiesTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4864Accepted: 3230DescriptionMost positive integers may be written as a sum of a sequence of at least two consecutive positive integers. For instance,6 = 1 + 2 + 39 = 5 + 4 = 2 + 3 + 4but 8cannot be so written.Write a 阅读全文
posted @ 2011-11-22 13:12 w0w0 阅读(200) 评论(0) 推荐(0)
摘要: Big ClockTime Limit: 1000MSMemory Limit: 131072KTotal Submissions: 7826Accepted: 4964DescriptionOur vicar raised money to have the church clock repaired for several weeks. The big clock, which used to strike the hours days and nights, was damaged several weeks ago and had been silent since then. Aft 阅读全文
posted @ 2011-11-22 13:11 w0w0 阅读(197) 评论(0) 推荐(0)
摘要: 01000001Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 8615Accepted: 2786DescriptionAdding binary numbers is a very simple task, and very similar to the longhand addition of decimal numbers. As with decimal numbers, you start by adding the bits (digits) one column at a time, from right to 阅读全文
posted @ 2011-11-22 13:11 w0w0 阅读(247) 评论(0) 推荐(0)
摘要: Making ChangeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1220Accepted: 671DescriptionGrocery stores have long struggled with how to avoid long checkout lines that leave customers frustrated. The "10 item or less" express line has been a common technique, but many stores a now 阅读全文
posted @ 2011-11-22 13:10 w0w0 阅读(202) 评论(0) 推荐(0)
摘要: LinearityTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 6722Accepted: 1499DescriptionAlice often examines star maps where stars are represented by points in a plane and there is a Cartesian coordinate for each star. Let the Linearity of a star map be the maximum number of stars in a straig 阅读全文
posted @ 2011-11-22 13:09 w0w0 阅读(224) 评论(0) 推荐(0)
摘要: 4 Values whose Sum is 0Time Limit: 15000MSMemory Limit: 228000KTotal Submissions: 10535Accepted: 2904Case Time Limit: 5000MSDescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A x B x C x D are such that 阅读全文
posted @ 2011-11-22 13:09 w0w0 阅读(199) 评论(0) 推荐(0)
摘要: Reduced ID NumbersTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 7346Accepted: 2971DescriptionT. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Number (SIN). A SIN s is an integer in the range 0 ≤ s ≤ MaxSIN with MaxSIN = 106-1. 阅读全文
posted @ 2011-11-22 13:08 w0w0 阅读(163) 评论(0) 推荐(0)
摘要: Holiday HotelTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 7220Accepted: 2827DescriptionMr. and Mrs. Smith are going to the seaside for their holiday. Before they start off, they need to choose a hotel. They got a list of hotels from the Internet, and want to choose some candidate hotels 阅读全文
posted @ 2011-11-22 13:07 w0w0 阅读(199) 评论(0) 推荐(0)
摘要: Sum of Consecutive Prime NumbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12236Accepted: 6850DescriptionSome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive integer have? For example, the integ 阅读全文
posted @ 2011-11-22 13:07 w0w0 阅读(179) 评论(0) 推荐(0)
摘要: Faulty OdometerTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 8073Accepted: 4983DescriptionYou are given a car odometer which displays the miles traveled as an integer. The odometer has a defect, however: it proceeds from the digit 3 to the digit 5, always skipping over the digit 4. This d 阅读全文
posted @ 2011-11-22 13:06 w0w0 阅读(223) 评论(0) 推荐(0)
摘要: Copier ReductionTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7516Accepted: 3876DescriptionWhat do you do if you need to copy a 560x400mm image onto a standard sheet of US letter-size paper (which is about 216x280mm), while keeping the image as large as possible? You can rotate the image 阅读全文
posted @ 2011-11-22 13:05 w0w0 阅读(256) 评论(0) 推荐(0)
摘要: Paint MixTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 1462Accepted: 461DescriptionYou are given two large pails. One of them (known as the black pail) contains B gallons of black paint. The other one (known as the white pail) contains W gallons of white paint. You will go through a numbe 阅读全文
posted @ 2011-11-22 13:05 w0w0 阅读(289) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页