![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Timus
MIsike
创造,要有毁灭的觉悟!
展开
-
Intervals of Monotonicity
1346. Intervals of MonotonicityTime limit: 1.0 secondMemory limit: 64 MBIt’s well known that a domain of any continuous function may be divided into intervals where the function would in原创 2013-08-18 08:13:47 · 739 阅读 · 0 评论 -
Palindrome
1297. PalindromeTime limit: 1.0 secondMemory limit: 64 MBThe “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Un原创 2013-08-08 17:13:46 · 629 阅读 · 0 评论 -
Sequence Median
1306. Sequence MedianTime limit: 1.0 secondMemory limit: 1 MBLanguage limit: C, C++, PascalGiven a sequence of N nonnegative integers. Let's define the median of such sequence. If N is原创 2013-08-09 10:20:41 · 814 阅读 · 0 评论 -
Magnetic Storms
1126. Magnetic StormsTime limit: 0.5 secondMemory limit: 64 MBThe directory of our kindergarten decided to be attentive to the children's health and not to let them walk outdoors during原创 2013-08-09 09:34:07 · 642 阅读 · 0 评论 -
Palindrome. Again Palindrome
1354. Palindrome. Again PalindromeTime limit: 1.0 secondMemory limit: 64 MBA word is the nonempty sequence of symbols a1a2…an. A palindrome is the word a1a2…an that is read from the原创 2013-08-09 07:32:58 · 786 阅读 · 0 评论 -
Isenbaev's Number
1837. Isenbaev's NumberTime limit: 0.5 secondMemory limit: 64 MBVladislav Isenbaev is a two-time champion of Ural, vice champion of TopCoder Open 2009, and absolute champion of ACM ICPC原创 2013-08-20 11:24:04 · 970 阅读 · 0 评论 -
String Tale
1423. String TaleTime limit: 1.0 secondMemory limit: 64 MBBackgroundI want to tell you a story. Not entirely, but only the very beginning, because the ending of this story became a l原创 2013-08-07 10:43:02 · 661 阅读 · 0 评论 -
Don’t Ask Woman about Her Age
1104. Don’t Ask Woman about Her AgeTime limit: 1.0 secondMemory limit: 64 MBMrs Little likes digits most of all. Every year she tries to make the best number of the year. She tries to be原创 2013-08-07 14:19:43 · 1132 阅读 · 0 评论 -
Flags
1225. FlagsTime limit: 1.0 secondMemory limit: 64 MBOn the Day of the Flag of Russia a shop-owner decided to decorate the show-window of his shop with textile stripes of white, blue and原创 2013-08-06 15:58:46 · 739 阅读 · 0 评论 -
Bicolored Horses
1167. Bicolored HorsesTime limit: 1.0 secondMemory limit: 64 MBEvery day, farmer Ion (this is a Romanian name) takes out all his horses, so they may run and play. When they are done, far原创 2013-08-06 15:33:31 · 941 阅读 · 0 评论 -
Mars Canals
1287. Mars CanalsTime limit: 1.0 secondMemory limit: 64 MBThere is a quadrate area on the Mars surface wreathed in ideal net of canals. They plot the surface into equal squares (we negle原创 2013-08-23 10:48:44 · 602 阅读 · 0 评论 -
Nudnik Photographer
1260. Nudnik PhotographerTime limit: 1.0 secondMemory limit: 64 MBIf two people were born one after another with one second difference and one of them is a child, then the other one is原创 2013-08-11 11:03:43 · 916 阅读 · 0 评论 -
Milliard Vasya's Function
1353. Milliard Vasya's FunctionTime limit: 1.0 secondMemory limit: 64 MBVasya is the beginning mathematician. He decided to make an important contribution to the science and to become fa原创 2013-08-11 11:10:08 · 893 阅读 · 0 评论 -
Bottle Taps
1326. Bottle TapsTime limit: 3.0 secondMemory limit: 64 MBProgrammer Petrov has a hobby to collect beer-bottle taps. There’s nothing unusual — he knows hundreds of programmers that like原创 2013-08-28 11:30:26 · 1400 阅读 · 0 评论 -
SMS
1427. SMSTime limit: 0.5 secondMemory limit: 64 MBBackgroundMobile technologies are going to become a part of our life. So many times you have read this sentence in advertisements and原创 2013-08-26 15:43:02 · 692 阅读 · 0 评论 -
Crack
1410. CrackTime limit: 0.5 secondMemory limit: 64 MBToday Arthur has got not the best day of his life. Today is Thursday and in the morning he had to lie under a bulldozer, which was pul原创 2013-08-26 21:51:54 · 909 阅读 · 0 评论 -
Malevich Strikes Back!
1221. Malevich Strikes Back!Time limit: 1.0 secondMemory limit: 64 MBAfter the greatest success of Malevich's "Black Square" the famous artist decided to create a new masterpiece. He too原创 2013-08-26 20:05:59 · 791 阅读 · 0 评论 -
HH的项链
HH的项链★★★ 输入文件:diff.in 输出文件:diff.out 简单对比时间限制:1 s 内存限制:256 MB问题描述:HH有一串由各种漂亮的贝壳组成的项链。HH相信不同的贝壳会带来好运,所以每次散步完后,他都会随意取出一段贝壳,思考它们所表达的含义。HH不断地收集新的贝壳,因此,他的项链变得越来越长。有一天,他突然提出了一个问题:某一段贝壳中原创 2013-08-13 15:48:50 · 1024 阅读 · 0 评论 -
UFOs
1470. UFOsTime limit: 5.0 secondMemory limit: 64 MBVasya is a ufologist and his duties include observing Unidentified Flying Objects (UFOs) in the part of space bounded by a cube N × N ×原创 2013-08-11 15:33:10 · 12311 阅读 · 0 评论 -
Brackets Sequence
1183. Brackets SequenceTime limit: 1.0 secondMemory limit: 64 MBLet us define a regular brackets sequence in the following way:Empty sequence is a regular sequence.If S is a regular原创 2013-08-11 11:07:52 · 557 阅读 · 0 评论 -
War Games 2
1521. War Games 2Time limit: 1.0 secondMemory limit: 64 MBBackgroundDuring the latest war games (this story is fully described in the problem "War games") the Minister of Defense of th原创 2013-08-11 19:40:21 · 807 阅读 · 0 评论 -
In the Army Now
1090. In the Army NowTime limit: 1.0 secondMemory limit: 64 MBThe sergeant ordered that all the recruits stand in rows. The recruits have formed K rows with Npeople in each, but failed t原创 2013-08-11 17:09:04 · 879 阅读 · 0 评论 -
Threeprime Numbers
1586. Threeprime NumbersTime limit: 1.0 secondMemory limit: 64 MBRest at the sea is wonderful! However, programmer Pasha became awfully bored of lying on a beach in Turkey; so bored that原创 2013-08-06 17:31:17 · 774 阅读 · 0 评论 -
Strange Dialog
1102. Strange DialogTime limit: 1.0 secondMemory limit: 16 MBOne entity named "one" tells with his friend "puton" and their conversation is interesting. "One" can say words "out" and "ou原创 2013-08-06 10:45:08 · 696 阅读 · 0 评论 -
Binary Lexicographic Sequence
1081. Binary Lexicographic SequenceTime limit: 0.5 secondMemory limit: 64 MBConsider all the sequences with length (0 N < 44), containing only the elements 0 and 1, and no two ones are a原创 2013-08-05 16:02:56 · 642 阅读 · 0 评论 -
Cipher Message
1654. Cipher MessageTime limit: 1.0 secondMemory limit: 64 MBMüller tried to catch Stierlitz red-handed many times, but always failed because Stierlitz could ever find some excuse. Once原创 2013-08-01 21:32:16 · 779 阅读 · 0 评论 -
Anniversary Party
Anniversary PartyTime limit: 0.5 secondMemory limit: 8 MBBackgroundThe president of the Ural State University is going to make an 80'th Anniversary party. The university has a hierarch原创 2013-08-02 10:45:07 · 605 阅读 · 0 评论 -
Monobilliards
1494. MonobilliardsTime limit: 1.0 secondMemory limit: 64 MBA monobilliards table set up in a gaming house of a town N turned out to be a very profitable investment, but only till the da原创 2013-08-01 11:34:06 · 1037 阅读 · 0 评论 -
Canteen
1350. CanteenTime limit: 1.0 secondMemory limit: 64 MBIt’s dangerous to eat in a canteen — you may be poisoned by a not fresh food. One may fall into a coma because of the canteen’s chic原创 2013-07-31 21:20:12 · 953 阅读 · 0 评论 -
Spell Checker
1038. Spell CheckerTime limit: 0.5 secondMemory limit: 64 MBThe boss of a firm that you are employed with is dissatisfied with the text processor Word. He wants you to write a better tex原创 2013-07-31 20:39:13 · 647 阅读 · 0 评论 -
1001. Reverse Root(Timus)
1001. Reverse RootTime limit: 2.0 secondMemory limit: 64 MBThe problem is so easy, that the authors were lazy to write a statement for it!InputThe input stream contains a set of原创 2013-06-24 13:45:14 · 1235 阅读 · 0 评论 -
K-based Numbers (URAL 1009)
1009. K-based NumbersTime limit: 1.0 secondMemory limit: 64 MBLet’s consider K-based numbers, containing exactly N digits. We define a number to be valid if itsK-based notation doesn’t c原创 2013-07-07 12:40:36 · 1058 阅读 · 0 评论 -
Labyrinth (URAL 1033)
LabyrinthTime limit: 1.0 secondMemory limit: 64 MBAdministration of the labyrinth has decided to start a new season with new wallpapers. For this purpose they need a program to calculate原创 2013-07-07 10:09:52 · 1106 阅读 · 0 评论 -
Square Country
Square CountryTime limit: 1.0 secondMemory limit: 64 MBThere live square people in a square country. Everything in this country is square also. Thus, the Square Parliament has passed a l原创 2013-08-02 11:24:58 · 668 阅读 · 0 评论 -
Stars
1028. StarsTime limit: 0.25 secondMemory limit: 64 MBAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the原创 2013-08-03 14:37:24 · 745 阅读 · 0 评论 -
Parity
1003. ParityTime limit: 2.0 secondMemory limit: 64 MBNow and then you play the following game with your friend. Your friend writes down a sequence consisting of zeroes and ones. You choo原创 2013-08-03 15:03:40 · 635 阅读 · 0 评论 -
Scientific Conference
1203. Scientific ConferenceTime limit: 1.0 secondMemory limit: 64 MBFunctioning of a scientific conference is usually divided into several simultaneous sections. For example, there may b原创 2013-08-06 16:30:10 · 819 阅读 · 0 评论 -
False Mirrors
1152. False MirrorsTime limit: 2.0 secondMemory limit: 64 MBBackgroundWe wandered in the labyrinth for twenty minutes before finally entering the large hall. The walls were covered b原创 2013-08-06 07:50:42 · 728 阅读 · 0 评论 -
Maximum Sum
1146. Maximum SumTime limit: 1.0 secondMemory limit: 64 MBGiven a 2-dimensional array of positive and negative integers, find the sub-rectangle with the largest sum. The sum of a rectang原创 2013-08-05 19:55:20 · 596 阅读 · 0 评论 -
Segments
1078. SegmentsTime limit: 1.0 secondMemory limit: 64 MBA number of segments are lying on a line. Every segment is given with the coordinates of its endpoints. Segments are numbered from原创 2013-08-05 09:45:13 · 797 阅读 · 0 评论