摘要:
先上题目:D -DiscoverTime Limit:0MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeSCU 4117DescriptionTime Limit: 3000 MS Memory Limit: 65536 KDescription GLC has developed an algorithm to map each lattice point in the 2-d catesian coordinates to a nature number. For example:(0, 0) -&g 阅读全文
摘要:
先上题目:4110: PE classSubmit your solutionDiscuss this problemBest solutionsDescriptionThe dwarven kingdom and the giant countries classmates have PE class together. The students' height from 1 cm to N cm,everyone's height is different from other's.There are N students in total, and there a 阅读全文
摘要:
先上题目:Magic NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1433Accepted Submission(s): 605Problem DescriptionThere are many magic numbers whose lengths are less than 10. Given some queries, each contains a single number, if the Levenshtein di 阅读全文
摘要:
先上题目:H. Queries for Number of Palindromestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a strings = s1s2...s|s|of length|s|, consisting of lowercase English letters. There also areqqueries, each query is described by two integersl 阅读全文
摘要:
先上题目:City GameTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4101Accepted Submission(s): 1710Problem DescriptionBob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up b 阅读全文
摘要:
先上题目:Largest Rectangle in a HistogramTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9826Accepted Submission(s): 2717Problem DescriptionA histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have 阅读全文
摘要:
先上题目:Instantaneous TransferenceTime Limit:5000MSMemory Limit:65536KTotal Submissions:5461Accepted:1193DescriptionIt was long ago when we played the game Red Alert. There is a magic function for the game objects which is called instantaneous transfer. When an object uses this magic function, it will 阅读全文
摘要:
先上题目:Summer HolidayTime Limit: 10000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1337Accepted Submission(s): 607Problem DescriptionTo see a World in a Grain of SandAnd a Heaven in a Wild Flower,Hold Infinity in the palm of your handAnd Eternity in an hour.—— Wi 阅读全文
摘要:
先上题目:DividingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14505Accepted Submission(s): 4064Problem DescriptionMarsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of 阅读全文
摘要:
先上题目:Problem 2062 Suneast & YayamaoAccept: 146Submit: 319Time Limit: 1000 mSecMemory Limit : 32768 KBProblem DescriptionYayamao is so cute that people loves it so much.Everyone wants to buy Yayamao from Suneast (a business man who sells Yayamao).Suneast is a strange business man. He sells Yayama 阅读全文
摘要:
先上题目:1232 - Coin Change (II)PDF (English)StatisticsForumTime Limit:1 second(s)Memory Limit:32 MBIn a strange shop there arentypes of coins of valueA1, A2... An. You have to find the number of ways you can makeKusing the coins. You can use any coin at mostKtimes.For example, suppose there are three c 阅读全文
摘要:
先上题目:1231 - Coin Change (I)PDF (English)StatisticsForumTime Limit:1 second(s)Memory Limit:32 MBIn a strange shop there arentypes of coins of valueA1, A2... An.C1, C2, ... Cndenote the number of coins of valueA1, A2... Anrespectively. You have to find the number of ways you can makeKusing the coins.F 阅读全文
摘要:
先上题目:Gaussian PrimeTime Limit:3 Seconds Memory Limit:65536 KBIn number theory, a Gaussian integer is a complex number whose real and imaginary part are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written asZ[i]. 阅读全文
摘要:
先上题目:ChopsticksTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1538Accepted Submission(s): 715Problem DescriptionIn China, people use a pair of chopsticks to get food on the table, but Mr. L is a bit different. He uses a set of three chopsticks -- 阅读全文
摘要:
先上题目:ACboy needs your helpTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3464Accepted Submission(s): 1792Problem DescriptionACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from differe 阅读全文
摘要:
先上题目:Distribute MessageTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1186Accepted Submission(s): 547Problem DescriptionThe contest’s message distribution is a big thing in prepare. Assuming N students stand in a row, from the row-head start trans 阅读全文
摘要:
先上题目:Eddy's research IITime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2788Accepted Submission(s): 1019Problem DescriptionAs is known, Ackermann function plays an important role in the sphere of theoretical computer science. However, in the oth 阅读全文
摘要:
先上题目:B. Running Studenttime limit per test1 secondmemory limit per test64 megabytesAnd again a misfortune fell on Poor Student. He is being late for an exam.Having rushed to a bus stop that is in point(0, 0), he got on a minibus and they drove along a straight line, parallel to axisOX, in the direct 阅读全文
摘要:
先上题目:WuKongTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1070Accepted Submission(s): 384Problem DescriptionLiyuan wanted to rewrite the famous book “Journey to the West” (“Xi You Ji” in Chinese pinyin). In the original book, the Monkey King Sun W 阅读全文
摘要:
先上题目:Problem 1606 Format the expressionAccept: 87Submit: 390Time Limit: 1000 mSecMemory Limit : 32768 KBProblem DescriptionOaiei is a good boy who loves math very much, he would like to simplify some mathematical expression, can you help him? For the sake of simplicity, the form of expression he wan 阅读全文
摘要:
先上题目:Problem 1601 Alibaba's treasuresAccept: 332Submit: 636Time Limit: 1000 mSecMemory Limit : 32768 KBProblem DescriptionIn the story of “Alibaba and forty robbers”, Alibaba uses his clever wit to overcome the ferocious enemy, and inherits the huge treasure. There are many treasures which is th 阅读全文