
栈、队列和STL
心悦灵溪
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT练习题 P1014 Waiting in Line (30分) 【队列模拟】
传送门:P1014P1014 Waiting in Line (30分)Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the...原创 2020-02-25 16:48:07 · 405 阅读 · 0 评论 -
HDU 4006 The kth great number 【优先队列+STL】
传送门:HDU 4006The kth great numberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 16237 Accepted Submission(s): 6114Problem Description...原创 2019-07-25 14:35:25 · 163 阅读 · 0 评论 -
Codeforces 501B Misha and Changing Handles 【STL map】
传送门: Codeforces 501BMisha and Changing HandlesProblem DescriptionMisha hacked the Codeforces site. Then he decided to let all the users change their handles. A user can now change his handle a...原创 2019-07-25 15:27:17 · 135 阅读 · 0 评论 -
POJ 2796 Feel Good 【单调栈】
传送门:POJ 2796Feel GoodTime Limit: 1000MS Memory Limit: 65536KProblem DescriptionBill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to stud...原创 2019-07-26 21:05:08 · 134 阅读 · 0 评论 -
HDU 6438 Buy and Resell 【贪心+思维+优先队列】
传送门:HDU 6438Buy and ResellTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionThe Power Cube is used as a stash of Exotic Power. There are n c...原创 2019-08-20 14:09:39 · 261 阅读 · 0 评论 -
2019 ICPC南昌网络赛 E题 Magic Master 【双向队列】
传送门:E.Magic MasterJohn is not only a magic master but also a shuffling master. Famous though he is, he likes interacting with his fans by playing a game with his fantastic shuffling skills. The game s...原创 2019-09-10 08:41:29 · 460 阅读 · 0 评论