上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: Problem DescriptionThere are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the island. But unfortunately, these maps describe different regions of Atlantis. Your friend Bill has to know the total area for which 阅读全文
posted @ 2014-01-23 15:59 persistent codeants 阅读(417) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFleeting time does not blur my memory of you. Can it really be 4 years since I first saw you? I still remember, vividly, on the beautiful Zhuhai Campus, 4 years ago, from the moment I saw you smile, as you were walking out of the classroom and turned your head back, with the soft 阅读全文
posted @ 2014-01-22 18:23 persistent codeants 阅读(606) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThe little cat takes over the management of a new park. There is a large circular statue in the center of the park, surrounded by N pots of flowers. Each potted flower will be assigned to an integer number (possibly negative) denoting how attractive it is. See the following graph 阅读全文
posted @ 2014-01-21 12:49 persistent codeants 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionYou are given a sequence ofnintegersa1, a2, ... , anin non-decreasing order. In addition to that, you are given several queries consisting of indicesiandj(1 ≤ i ≤ j ≤ n). For each query, determine the most frequent value among the integersai, ... , aj.InputThe input consists of se 阅读全文
posted @ 2014-01-20 17:16 persistent codeants 阅读(492) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionAstronomers 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 of the stars that are not higher and not to the right of the given star. Astronomers want to know the distribution of 阅读全文
posted @ 2014-01-20 14:33 persistent codeants 阅读(733) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionImagine you are attending your math lesson at school. Once again, you are bored because your teacher tells things that you already mastered years ago (this time he's explaining that (a+b)2=a2+2ab+b2). So you decide to waste your time with drawing modern art instead.Fortunately 阅读全文
posted @ 2014-01-19 16:36 persistent codeants 阅读(524) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionTransmitting and memorizing information is a task that requires different coding systems for the best use of the available space. A well known system is that one where a number is associated to a character sequence. It is considered that the words are made only of small characters 阅读全文
posted @ 2014-01-19 15:19 persistent codeants 阅读(407) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors', 'Ro, Sham, Bo', and a host of other names) in order to make arbitrary decisions such as who gets to be milked first. The 阅读全文
posted @ 2014-01-19 10:53 persistent codeants 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionWhen a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every receiver has a strong signal. However, the channels used by each repeater must be carefully chosen so that nearby repeaters do not interfere with one another. Thi 阅读全文
posted @ 2014-01-18 14:46 persistent codeants 阅读(583) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionIn a certain course, you takentests. If you getaiout ofbiquestions correct on testi, your cumulative average is defined to be.Given your test scores and a positive integerk, determine how high you can make your cumulative average if you are allowed to drop anykof your test scores. 阅读全文
posted @ 2014-01-16 14:49 persistent codeants 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 20 下一页