Given an array S of n integers, are there elements a, b, c in S such that a + b + c =
0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c...
分类:
其他好文 时间:
2014-11-15 18:55:06
阅读次数:
203
ee LCS again时间限制:1000ms | 内存限制:65535KB难度:3描述There are A, B two sequences, the number of elements in the sequence is n、m;Each element in the sequence a...
分类:
其他好文 时间:
2014-11-15 18:50:16
阅读次数:
185
在看《Linux多线程服务端编程:使用muduo C++网络库》 的时候,在说到如何防止在将对象的 this 指针作为返回值返回给了调用者时可能会造成的 core dump。需使用enable_share_from_this。 首先要说明的一个问题是如何安全地将 this 指针返回给调用者。一般来....
分类:
其他好文 时间:
2014-11-15 18:49:55
阅读次数:
219
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-11-14 19:45:31
阅读次数:
127
所用插件:TCODF//导出pdf public function export_pdf($order_sn){ require_once(FCPATH .'../shared/plugin/tcpdf/tcpdf.php'); $pdf = new TCPDF(PDF_PAGE_ORI...
分类:
Web程序 时间:
2014-11-14 17:22:04
阅读次数:
212
安装的时候图方便没有一次性编译进去,现在又要采用模块的方式来增加~1,关于编译Apache其实在安装apache的时候最好把常用的模块都编译进去,这样也省得后期再去添加常用的编译项:./configure –prefix= –enable-mods-shared=all –enable-so –en...
分类:
Web程序 时间:
2014-11-14 14:10:15
阅读次数:
267
微软近期Open的职位:Position: Senior SDELevel: 63-64The R&D of Shared Data Platform at Application and Services Group (ASG) China aims to build a unified data...
分类:
其他好文 时间:
2014-11-14 13:56:48
阅读次数:
133
Remove ElementGiven an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. ...
分类:
其他好文 时间:
2014-11-14 10:39:29
阅读次数:
161
文件系统:rootfs:根文件系统FHS:linuxls/查看一级子目录/boot系统启动相关的文件,如内核,initrd,以及gurb(boorloader)/dev:设备文件设备文件:块设备:随机访问,数据块字符设备:线性访问,按字符为单位设备号:主设备号和次设备/etc:配置文件/home:用户的家目录,每..
分类:
其他好文 时间:
2014-11-14 01:48:20
阅读次数:
268
动画在Material Design设计中给用户反馈放用户点击时,并且在程序用户界面中提供连贯的视觉。Material主题为按钮(Button)和activity的转换提供了一些默认的动画,在android5.0(api 21)和更高的版本,你可以自定义这些动画和创建一个新动画:
Touch feedback(触摸反馈)Circular Reveal(循环揭露效果)Activity tran...
分类:
移动开发 时间:
2014-11-14 00:16:05
阅读次数:
459