链表
synapse7
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVa 127 "Accordian" Patience (模拟链表&栈)
127 - "Accordian" PatienceTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=103&page=show_problem&problem=63You are to simulate the p原创 2013-08-02 10:44:34 · 1214 阅读 · 0 评论 -
C++ STL入门教程(2)——list(双向链表)的使用(附完整程序代码)
一、简介Lists将元素按顺序储存在链表中。与向量(vector)相比, 它允许快速的插入和删除,但是随机访问却比较慢。(vector支持快速随机访问)在前一篇就提到过,list可以在头部进行添加删除操作,但vector不行。下面是几个不同于vector的函数。remove()从list删除元素remove_if()按指定条件删除元素原创 2013-08-04 22:01:49 · 2914 阅读 · 1 评论 -
UVa 402 M*A*S*H (STL&list)
402 - M*A*S*HTime limit: 3.000 seconds http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=343Corporal Klinger is a member of the 4077t原创 2013-11-03 23:26:30 · 1872 阅读 · 0 评论 -
UVa 11988 Broken Keyboard (a.k.a. Beiju Text) (指针的"思想")
11988 - Broken Keyboard (a.k.a. Beiju Text)Time limit: 1.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=3139You're typi原创 2013-10-03 16:21:17 · 2355 阅读 · 0 评论
分享