![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STL+数据结构
MIsike
创造,要有毁灭的觉悟!
展开
-
选课
选课描述学校实行学分制。每门的必修课都有固定的学分,同时还必须获得相应的选修课程学分。学校开设了N(N在选修课程中,有些课程可以直接选修,有些课程需要一定的基础知识,必须在选了其它的一些课程的基础上才能选修。例如《Frontpage》必须在选修了《Windows操作基础》之后才能选修。我们称《Windows操作基础》是《Front原创 2013-07-07 09:59:01 · 860 阅读 · 0 评论 -
Squares
SquaresTime Limit : 7000/3500ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 4 Accepted Submission(s) : 4Problem DescriptionA square is a 4-sided pol原创 2013-08-19 15:13:13 · 663 阅读 · 0 评论 -
Seek the Name, Seek the Fame
Seek the Name, Seek the FameTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9912 Accepted: 4759DescriptionThe little cat is so famous, that many couples原创 2013-08-07 15:47:55 · 612 阅读 · 0 评论 -
Period
PeriodTime Limit: 3000MS Memory Limit: 30000KTotal Submissions: 11205 Accepted: 5187DescriptionFor each prefix of a given string S with N characters (each charact原创 2013-08-07 19:35:14 · 567 阅读 · 0 评论 -
Power Strings
Power StringsTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 27403 Accepted: 11468DescriptionGiven two strings a and b we define a*b to be their concate原创 2013-08-07 17:41:28 · 595 阅读 · 0 评论 -
Surprising Strings
Surprising StringsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5241 Accepted: 3445DescriptionThe D-pairs of a string of letters are the ordered pairs原创 2013-08-20 15:53:48 · 568 阅读 · 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 · 806 阅读 · 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 · 635 阅读 · 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 · 12305 阅读 · 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 · 874 阅读 · 0 评论 -
Frogger
FroggerTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 24 Accepted Submission(s) : 8Problem DescriptionFreddy Frog is sitting o原创 2013-08-14 20:59:03 · 611 阅读 · 0 评论 -
Who's in the Middle
Who's in the MiddleTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 6 Accepted Submission(s) : 6Problem DescriptionFJ is surveyi原创 2013-08-19 15:15:05 · 542 阅读 · 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 · 656 阅读 · 0 评论 -
Wormholes
WormholesTime Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 7 Accepted Submission(s) : 6Problem DescriptionWhile exploring his m原创 2013-07-28 13:22:50 · 656 阅读 · 0 评论 -
Sorting It All Out
Problem DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to largest. For example, the sorted原创 2013-07-31 09:33:45 · 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 · 1030 阅读 · 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 · 777 阅读 · 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 · 600 阅读 · 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 · 735 阅读 · 0 评论 -
敌兵布阵
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29854 Accepted Submission(s): 12802Problem DescriptionC国的死对头A国这段时间正在进行军事演原创 2013-08-03 14:24:22 · 868 阅读 · 3 评论 -
C - Registration system
C - Registration systemTime Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA new e-mail service "Berlandesk" is going to be opened i原创 2013-08-02 20:23:43 · 857 阅读 · 0 评论 -
Binary Apple Tree
1018. Binary Apple TreeTime limit: 1.0 secondMemory limit: 64 MBLet's imagine how apple tree looks in binary computer world. You're right, it looks just like a binary tree, i.e. any bipa原创 2013-08-03 15:44:38 · 638 阅读 · 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 · 630 阅读 · 0 评论 -
昂贵的聘礼
昂贵的聘礼Time Limit : 2000/1000ms (Java/Other) Memory Limit : 20000/10000K (Java/Other)Total Submission(s) : 34 Accepted Submission(s) : 9Problem Description年轻的探险家来到了一个印第安部落里。在那里他和酋长的女原创 2013-07-28 16:34:09 · 682 阅读 · 0 评论 -
Etaoin Shrdlu
Etaoin ShrdluTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1202 Accepted: 636DescriptionThe relative frequency of characters in natural language texts原创 2013-08-28 18:22:22 · 900 阅读 · 0 评论