list是一个双向链表。该结构具有链表的所有功能 type List func New() *List //返回一个初始化的listfunc (l *List) Back() *Element //获取list l的最后一个元素func (l *List) Front() *Element //获取 ...
分类:
其他好文 时间:
2016-11-22 02:52:50
阅读次数:
181
传送门 Til the Cows Come Home Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 46727 Accepted: 15899 Description Bessie is out in the field and ...
分类:
其他好文 时间:
2016-11-22 02:46:48
阅读次数:
197
在CSDN遇见了很多技术大牛,很多乐于分享的人,所以我在这里将他们聚集起来,介绍给大家。
分类:
移动开发 时间:
2016-11-20 19:34:24
阅读次数:
240
最近将大概每天三分之一的精力放到了改造Ambry上(改造后的叫AmbryX,项目地址),Ambry原来最蛋疼的一点就是居然没有启动shell脚本和终止shell脚本,对于运维太不友好了。昨天下午做了个...
分类:
编程语言 时间:
2016-11-19 13:33:01
阅读次数:
248
题目链接 http://www.lightoj.com/volume_showproblem.php?problem=1111 题意:给你一个有向图再给你几个人的位置,问所有人可以在哪些点相聚。 简单的搜索题,可以用bfs也可以用dfs,要注意的是存边的时候最好用vector,因为边比较少。 用st ...
分类:
其他好文 时间:
2016-11-18 15:59:32
阅读次数:
208
Z pre-pass In the rendering Process, the first pass render to a depth buffer to get the front layer of depth. Next, we use this depth layer to cull th ...
分类:
其他好文 时间:
2016-11-17 19:07:28
阅读次数:
221
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2016-11-17 10:00:25
阅读次数:
161
http://www.ruanyifeng.com/blog/2012/09/xmlhttprequest_level_2.html http://www.cnblogs.com/yuanlong1012/p/5127497.html https://front-js.cc/test/fileupl ...
分类:
Web程序 时间:
2016-11-16 20:07:33
阅读次数:
225
按照上一篇安装lnmp环境:http://www.cnblogs.com/armo/p/6067716.html 保证lnmp正常运行,然后安装zabbix_server 安装依赖 yum -y install net-snmp-devel libxml2-devel libcurl-devel 添 ...
分类:
其他好文 时间:
2016-11-16 02:05:49
阅读次数:
220