![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STL
BayMin0520
命是弱者的借口,运是强者的歉词
展开
-
Surprising Strings (STL+map)
The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs are different. A string is surprising if it is D-uni...原创 2019-11-07 17:31:15 · 167 阅读 · 0 评论 -
Team Queue (团队队列+插队)
Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it occurs often in everyday life. At lunch time the qu...原创 2019-11-07 13:45:40 · 1792 阅读 · 0 评论 -
卖水果(STL + 双map)
夏天来了~~好开心啊,呵呵,好多好多水果~~Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了.Input第一行正整数N(0<N<=10)表示有N组测试数据.每组测试数据的第一行是一个整数M(0<M<=100),表示工有M次成功的交易.其后有M行数据,每行表示...原创 2019-11-07 13:00:57 · 260 阅读 · 0 评论