![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
------STL
文章平均质量分 80
猿的进化之路
这个作者很懒,什么都没留下…
展开
-
vector摘抄
在c++中,vector是一个十分有用的容器,下面对这个容器做一下总结。 1 基本操作 (1)头文件#include. (2)创建vector对象,vector vec; (3)尾部插入数字:vec.push_back(a); (4)使用下标访问元素,cout (5)使用迭代器访问元素. vectorint>::iterator it; for(it=ve转载 2015-05-08 09:39:48 · 384 阅读 · 0 评论 -
hdu2094 map
http://acm.hdu.edu.cn/showproblem.php?pid=2094 产生冠军 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 11595 Accepted Submission(s):原创 2015-08-17 10:56:52 · 451 阅读 · 0 评论 -
poj3614 priority queue
http://poj.org/problem?id=3614 Sunscreen Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5293 Accepted: 1841 Description To avoid unsightl原创 2015-09-08 19:44:32 · 325 阅读 · 0 评论 -
cf #2 A. Winner
http://codeforces.com/contest/2/problem/A A. Winner time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output原创 2015-11-03 19:50:26 · 339 阅读 · 0 评论 -
hdu5818 模拟栈
Joint Stacks Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 673 Accepted Submission(s): 321 Problem Description A stack is原创 2016-08-11 08:45:48 · 305 阅读 · 0 评论