It is modulo version of "max sum of contiguous subarray". So similar pattern can be applied too, but with tricks regarding to modulo ops.I checked edi...
分类:
其他好文 时间:
2015-05-22 14:55:43
阅读次数:
136
2015/05/22 11:10:42 [error] 25164#0: *24170881 upstream sent too big header while reading response header from upstream, client: 58.247.43.226, server...
分类:
Web程序 时间:
2015-05-22 13:13:52
阅读次数:
135
mac上eclipse用gdb调试With its new OS release, Apple has discontinued the use ofGDBin OS X. Since 2005 Apple has steadily been moving away from the GNU too...
分类:
数据库 时间:
2015-05-22 13:10:16
阅读次数:
166
创建数据库的代码如下:create database day15 ;use day15 ;create table customer( id varchar(100) primary key, name varchar(100), gender varchar(4),# 1 male 0 fema....
分类:
其他好文 时间:
2015-05-21 22:01:40
阅读次数:
206
Problem DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According ...
分类:
其他好文 时间:
2015-05-21 21:43:33
阅读次数:
129
做项目的时候,用到了mina框架,与server进行交互。由于采用的是短连接+心跳包+断线重连的方式,因此网络不稳定的时候经常会出现断线重连。那么有时候偶尔会出现EMFILE: open too many files exception的问题,看堆栈信息是出在new socketconnector的...
分类:
其他好文 时间:
2015-05-21 12:39:13
阅读次数:
158
一、首先说说手机自动化测试的原理1、手机自动化测试的原理为PC上一个控制端(测试工具)与手机上的一个agent端,通过串口、USB或者无线方式将PC与手机终端相连,然后应用测试工具向手机发送请求或者命令,手机收到命令或者请求后,交给agent端解析,然后agent将这些解析的命令下发给手机的各个功能...
分类:
其他好文 时间:
2015-05-20 20:03:15
阅读次数:
114
这几天工作当中,在使用mysql数据库的时候,碰到了too many connections的问题和timeout expired的问题,经过尝试,稍作总结,希望能够帮到需要的朋友;在测试当中发现,1:too many connections的错误会在max pool size的值大于max_con...
分类:
数据库 时间:
2015-05-20 17:58:42
阅读次数:
199
When a student is too tired, he can't help sleeping in class, even if his favorite teacher is right here in front of him. Imagine you have a class of ...
分类:
其他好文 时间:
2015-05-19 16:20:56
阅读次数:
194
OK !好久不见,大家都忙着各自的事情,me too, 博客也好久木有更新了,因为一直比较忙 spark sql 三个核心部分: 1. 可以加载各种结构化数据源(e.g., JSON, Hive, and?Parquet). 2. ?可以让你通过SQL ,spark ...
分类:
数据库 时间:
2015-05-19 15:07:52
阅读次数:
369