摘要: Problem 2062 Suneast & YayamaoAccept: 143Submit: 313Time 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 se... 阅读全文
posted @ 2014-03-04 13:02 ERKE 阅读(252) 评论(0) 推荐(0) 编辑
摘要: The Twin TowersTime Limit:2 Seconds Memory Limit:65536 KBTwin towers we see you standing tall, though a building's lost our faith will never fall.Twin towers the world hears your call, though you're gone it only strengthens our resolve.We couldn't make it through this without you Lord, t 阅读全文
posted @ 2014-03-03 19:01 ERKE 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 1523. K-inversionsTime limit: 1.0 secondMemory limit: 64 MBConsider a permutationa1,a2, …,an(allaiare different integers in range from 1 ton). Let us callk-inversiona sequence of numbersi1,i2, …,iksuch that 1≤i1ai2>…>aik. Your task is to evaluate the number of differentk-inversions in a given 阅读全文
posted @ 2014-03-03 13:20 ERKE 阅读(328) 评论(0) 推荐(0) 编辑
摘要: FootballTime Limit:1000MSMemory Limit:65536KTotal Submissions:2590Accepted:1315DescriptionConsider a single-elimination football tournament involving 2nteams, denoted 1, 2, …, 2n. In each round of the tournament, all teams still in the tournament are pla... 阅读全文
posted @ 2014-03-02 10:17 ERKE 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Collecting BugsTime Limit:10000MSMemory Limit:64000KTotal Submissions:1899Accepted:901Case Time Limit:2000MSSpecial JudgeDescriptionIvan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Iv... 阅读全文
posted @ 2014-03-02 00:25 ERKE 阅读(166) 评论(0) 推荐(0) 编辑
摘要: E. Expositiontime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThere are several days left before the fiftieth birthday of a famous Berland's writer Berlbury. In this connection the local library decided to make an ... 阅读全文
posted @ 2014-03-01 21:35 ERKE 阅读(433) 评论(0) 推荐(0) 编辑
摘要: SubsequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3892Accepted Submission(s): 1271Problem DescriptionThere is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: t... 阅读全文
posted @ 2014-02-28 19:27 ERKE 阅读(293) 评论(0) 推荐(0) 编辑
摘要: D. How many trees?time limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputIn one very old text file there was written Great Wisdom. This Wisdom was so Great that nobody could decipher it, even Phong — the oldest among the inhabitants of... 阅读全文
posted @ 2014-02-28 08:57 ERKE 阅读(435) 评论(0) 推荐(0) 编辑
摘要: AtlantisTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5932Accepted Submission(s): 2599Problem DescriptionThere are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts eve... 阅读全文
posted @ 2014-02-27 13:47 ERKE 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Huge MissionProblem DescriptionOaiei is busy working with his graduation design recently. If he can not complete it before the end of the month, and he can not graduate! He will be very sad with that, and he needs your help. There are 24 hours a day, oaiei has different... 阅读全文
posted @ 2014-02-23 23:50 ERKE 阅读(168) 评论(0) 推荐(0) 编辑