12 2011 档案

摘要:SquaresTime Limit: 3500MSMemory Limit: 65536KTotal Submissions: 10585Accepted: 3825DescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotating about its centre by 90 degrees gives the same polygon. It is not 阅读全文
posted @ 2011-12-17 16:57 w0w0 阅读(154) 评论(0) 推荐(0)
摘要:Shortest PrefixesTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 7814Accepted: 3297DescriptionA prefix of a string is a substring starting at the beginning of the given string. The prefixes of "carbon" are: "c", "ca", "car", "carb", "ca 阅读全文
posted @ 2011-12-17 16:56 w0w0 阅读(215) 评论(0) 推荐(0)
摘要:The PeanutsTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 6217Accepted: 2614DescriptionMr. Robinson and his pet monkey Dodo love peanuts very much. One day while they were having a walk on a country road, Dodo found a sign by the road, pasted with a small piece of paper, saying "Free 阅读全文
posted @ 2011-12-17 09:45 w0w0 阅读(202) 评论(0) 推荐(0)
摘要:Parallelogram CountingTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 5130Accepted: 1699DescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose vertices lie on these points. In other words, find the number of 4-element 阅读全文
posted @ 2011-12-17 09:45 w0w0 阅读(254) 评论(0) 推荐(0)
摘要:Flooded!Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 3884Accepted: 1258Special JudgeDescriptionTo enable homebuyers to estimate the cost of flood insurance, a real-estate firm provides clients with the elevation of each 10-meter by 10-meter square of land in regions where homes may be pu 阅读全文
posted @ 2011-12-17 09:44 w0w0 阅读(217) 评论(0) 推荐(0)
摘要:Hardwood SpeciesTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 12166Accepted: 5000DescriptionHardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally go dormant in the winter. America's temperate climates produce forests with hundreds of 阅读全文
posted @ 2011-12-17 09:43 w0w0 阅读(177) 评论(0) 推荐(0)
摘要:Simply SyntaxTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 4344Accepted: 1912DescriptionIn the land of Hedonia the official language is Hedonian. A Hedonian professor had noticed that many of her students still did not master the syntax of Hedonian well. Tired of correcting the many synta 阅读全文
posted @ 2011-12-17 09:42 w0w0 阅读(165) 评论(0) 推荐(0)
摘要:Stockbroker GrapevineTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 18507Accepted: 10010DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in th 阅读全文
posted @ 2011-12-14 21:46 w0w0 阅读(147) 评论(0) 推荐(0)
摘要:BUY LOW, BUY LOWERTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 6117Accepted: 2104DescriptionThe advice to "buy low" is half the formula to success in the bovine stock market.To be considered a great investor you must also follow this problems' advice: "Buy low; buy lo. 阅读全文
posted @ 2011-12-12 13:01 w0w0 阅读(183) 评论(0) 推荐(0)
摘要:Testing the CATCHERTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 11400Accepted: 4113DescriptionA military contractor for the Department of Defense has just completed a series of preliminary tests for a new defensive missile called the CATCHER which is capable of intercepting multiple inco 阅读全文
posted @ 2011-12-12 13:00 w0w0 阅读(173) 评论(0) 推荐(0)
摘要:Relative RelativesTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 3072Accepted: 1329DescriptionToday is Ted's 100th birthday. A few weeks ago, you were selected by the family to contact all of Ted's descendants and organize a surprise party. To make this task easier, you created an 阅读全文
posted @ 2011-12-11 08:56 w0w0 阅读(207) 评论(0) 推荐(0)
摘要:Rank ListTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 7563Accepted: 2440DescriptionLi Ming is a good student. He always asks the teacher about his rank in his class after every exam, which makes the teacher very tired. So the teacher gives him the scores of all the student in his class 阅读全文
posted @ 2011-12-11 08:55 w0w0 阅读(174) 评论(0) 推荐(0)
摘要:To the MaxTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 29575Accepted: 15337DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of a 阅读全文
posted @ 2011-12-10 00:20 w0w0 阅读(177) 评论(0) 推荐(0)
摘要:Number SequenceTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 25686Accepted: 6963DescriptionA single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Each group Sk consists of a sequence of positive integer 阅读全文
posted @ 2011-12-09 22:42 w0w0 阅读(139) 评论(0) 推荐(0)
摘要:ArgusTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 7771Accepted: 3434DescriptionA data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic, financial tickers, on-line auctions, and transaction logs such as Web usage logs and te 阅读全文
posted @ 2011-12-08 21:10 w0w0 阅读(232) 评论(0) 推荐(0)
摘要:Robot MotionTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 7098Accepted: 3413DescriptionA robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are N north (up the page) 阅读全文
posted @ 2011-12-08 18:52 w0w0 阅读(187) 评论(0) 推荐(0)
摘要:Candy Sharing GameTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3111Accepted: 2072DescriptionA number of students sit in a circle facing their teacher in the center. Each student initially has an even number of pieces of candy. When the teacher blows a whistle, each student simultaneously 阅读全文
posted @ 2011-12-08 12:37 w0w0 阅读(251) 评论(0) 推荐(0)
摘要:Basically SpeakingTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3334Accepted: 1578DescriptionThe Really Neato Calculator Company, Inc. has recently hired your team to help design their Super Neato Model I calculator. As a computer scientist you suggested to the company that it would be ne 阅读全文
posted @ 2011-12-08 10:43 w0w0 阅读(200) 评论(0) 推荐(0)
摘要:Litmus TestTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 950Accepted: 479DescriptionThe pH scale measures the concentration of protons (H+) in a solution and, therefore, its acidity or alkalinity. The pH value of a solution is a number between 0 and 14; it is less than 7 if the solution i 阅读全文
posted @ 2011-12-07 11:02 w0w0 阅读(196) 评论(0) 推荐(0)
摘要:BorderTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3216Accepted: 1513DescriptionYou are to write a program that draws a border around a closed path into a bitmap, as displayed in the following figure: The path is closed and runs along the grid lines, i.e. between the squares of the grid. 阅读全文
posted @ 2011-12-05 19:02 w0w0 阅读(271) 评论(0) 推荐(0)
摘要:RailsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16789Accepted: 6737DescriptionThere is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to establish 阅读全文
posted @ 2011-12-05 19:01 w0w0 阅读(187) 评论(0) 推荐(0)