Find the contiguous subarray within an array (containing at least one number) which has the largest product. Example For example, given the array [2,3 ...
分类:
其他好文 时间:
2016-07-01 06:45:49
阅读次数:
307
1. Be careful with index. ...
分类:
其他好文 时间:
2016-07-01 06:45:52
阅读次数:
249
Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't one, return ...
分类:
其他好文 时间:
2016-07-01 06:45:20
阅读次数:
188
1. The score got is not original size of snake since starting score is 0 when snake size is 1. 2. Do not forget to add the head after check death. ...
分类:
其他好文 时间:
2016-07-01 06:43:19
阅读次数:
216
1. One thing need to be notice that if player put to wrong place... ...
分类:
其他好文 时间:
2016-07-01 06:42:27
阅读次数:
144
我们曾在帖子讨论过,一个连续函数可导但是导函数不连续的一个例子: http://www.cnblogs.com/zhangwenbiao/p/5426699.html 此函数为$g(x)=x^{2}\sin \left(\frac{1}{x}\right)$,补充定义$g(0)=0$. 可计算得$g ...
分类:
其他好文 时间:
2016-07-01 06:43:16
阅读次数:
124
Given an integer array, find a continuous subarray where the sum of numbers is the biggest. Your code should return the index of the first number and ...
分类:
其他好文 时间:
2016-07-01 06:43:08
阅读次数:
186
【在签订实习合同时,有以下几点需要注意】导读:由于实习生与实习单位并不是劳动关系,两者的关系是由民法以及合同法来调整,所以一份完善的实习协议是实习生与实习单位解决纠纷的重要依据。实习生为了更好的保护自己的合法权益,与实习单位签订书面的实习协议是非常重要的。 【在签订实习合同时,有以下几点需要注意】 ...
分类:
其他好文 时间:
2016-07-01 06:42:26
阅读次数:
183
tesseract-ocr图片识别开源工具 今天看同事的ppt,提到了图片识别,又tesseract-ocr,觉得不错,试一下,如果效果好可以用来做验证码的识别 http://code.google.com/p/tesseract-ocr/ tesseract是一款开源工具,我安装了Windows版 ...
分类:
其他好文 时间:
2016-07-01 06:43:02
阅读次数:
643
服务器软件 74Apache模块 54Nginx扩展模块 13Radius相关 94PaaS 系统 29服务发现/注册和协调 17Docker 扩展 7Docker 映像 83应用服务器 189HTTP服务器 11FastCGI 服务器 55FTP服务器 97邮件服务器 59缓存服务器 184版本控 ...
分类:
其他好文 时间:
2016-07-01 06:41:40
阅读次数:
242
bash, :, ., [, alias, bg, bind, break, builtin, caller, cd, command, compgen, complete, compopt, continue, declare, dirs, disown, echo, enable, eval, ...
分类:
其他好文 时间:
2016-07-01 06:41:47
阅读次数:
197
更新:感谢评论中朋友的提醒,百度贴吧现在已经改成utf-8编码了吧,需要把代码中的decode('gbk')改成decode('utf-8')。 百度贴吧的爬虫制作和糗百的爬虫制作原理基本相同,都是通过查看源码扣出关键数据,然后将其存储到本地txt文件。 源码下载: http://download. ...
分类:
其他好文 时间:
2016-07-01 06:42:15
阅读次数:
401
太顺了,真的不好(人一定要保持主动性) 顺利考上了大学,所以大学四年,时间太长,就是混日子,什么感觉都没有。到找工作的时候,居然还不知道自己应该干什么、到哪里去找工作,一点危机意识、一点市场意识都没有,简直混帐透顶。 其实顺也不要紧,可以在大学里自己主动一点,找到事情做。但是我却把时间白白的花在了不 ...
分类:
其他好文 时间:
2016-07-01 06:42:05
阅读次数:
234
http://www.oschina.net/project/tag/453/etl 开源ETL工具 Kettle Talend KETL CloverETL Apatar Scriptella ETL Octopus ETL调度技术平台 TASKCTL ETL工具 Talend Open Stud ...
分类:
其他好文 时间:
2016-07-01 06:43:06
阅读次数:
474
https://forum.openwrt.org/viewtopic.php?id=44895 http://eko.one.pl/forum/viewtopic.php?id=10269 http://trac.gateworks.com/wiki/wireless/modem http://j ...
分类:
其他好文 时间:
2016-07-01 06:40:33
阅读次数:
188
用nginx做代理服务器上网 目前现状:只有1个机器能上网(web),其他机器不能方法:能上网的做一个代理web服务器中转,其他机器连接它即可。采用nginxNginx配置如下:server{ resolver x.x.x.x; listen 82; location / { proxy_pass ...
分类:
其他好文 时间:
2016-07-01 06:39:58
阅读次数:
563