![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
数据结构-STL
STL
Learning_is_endless
天道酬勤 功到自成
展开
-
ACboy needs your help again!(stack和queue)
ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(. As a smart ACMer, you want to get ACboy out of the monster's...原创 2018-04-16 17:18:13 · 145 阅读 · 0 评论 -
Sereja and Dima CodeForces - 381A (deque)
Sereja and Dima CodeForces - 381A Sereja and Dima play a game. The rules of the game are very simple. The players have n cards in a row. Each card contains a number, all numbers on the cards are d...原创 2018-10-18 22:18:43 · 274 阅读 · 0 评论 -
Stall Reservations POJ - 3190(优先队列)
Stall Reservations POJ - 3190 Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A <= B <= 1,000...原创 2018-08-09 21:29:56 · 145 阅读 · 0 评论 -
队列与优先队列
转自:https://blog.csdn.net/lee371042/article/details/81135007 队列 是一种特殊的线性表,特殊之处在于它只允许在表的前端(front)进行删除操作,而在表的后端(rear)进行插入操作,和栈一样,队列是一种操作受限制的线性表。进行插入操作的端称为队尾,进行删除操作的端称为队头。 队列的数据元素又...转载 2018-08-09 19:40:34 · 128 阅读 · 0 评论 -
Automatic Judge HDU - 6023 (map)
Automatic Judge HDU - 6023 Welcome to HDU to take part in the second CCPC girls’ competition! A new automatic judge system is used for this competition. Du...原创 2018-04-29 20:44:15 · 271 阅读 · 0 评论 -
Train Problem I HDU - 1022 (stack)
Train Problem I HDU - 1022 As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Stati...原创 2018-04-19 20:17:13 · 102 阅读 · 0 评论 -
STL的部分详解:
STL的部分详解set:https://blog.csdn.net/ac_hexin/article/details/52042562map:https://blog.csdn.net/ac_hexin/article/details/52041943vector:https://blog.csdn.net/ac_hexin/article/details/52025684string:https...原创 2018-04-17 19:51:25 · 131 阅读 · 0 评论 -
{A} + {B} (set)
{A} + {B} 给你两个集合,要求{A} + {B}. 注:同一个集合中不会有两个相同的元素.Input每组输入数据分为三行,第一行有两个数字n,m(0<n,m<=10000),分别表示集合A和集合B的元素个数.后两行分别表示集合A和集合B.每个元素为不超出int范围的整数,每个元素之间有一个空格隔开.Output针对每组数据输出一行数据,表示合并后的集合,要求从小到大输出,每个元...原创 2018-04-17 19:43:20 · 429 阅读 · 0 评论 -
Parentheses Balance(stack)
Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a) if it is the empty string(b) if A and B are correct, AB is correct,(c) i...原创 2018-04-17 19:08:18 · 669 阅读 · 0 评论 -
Sereja and Stairs CodeForces - 381B
Sereja and Stairs CodeForces - 381B Sereja loves integer sequences very much. He especially likes stairs. Sequence a1, a2, ..., a|a| (|a| is the length of the sequence) is stairs if there is such...原创 2018-10-19 16:45:57 · 317 阅读 · 0 评论