Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],t ...
分类:
其他好文 时间:
2017-02-26 08:18:51
阅读次数:
185
昨天看到一个同事在通过PL/SQL Developer工具把文本数据往oracle表;有两个文本;一个有30万条记录;一个7万多条记录。在导入到过程中;出现错误记录还需要点击确认。不过使用黑科技(屏幕精灵)自动点击。单一个7万多记录的文本需要10分钟左右的时间。 看到这种情况;我热心肠爆发;我帮你来 ...
分类:
数据库 时间:
2017-02-24 12:10:17
阅读次数:
1003
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no ...
分类:
Web程序 时间:
2017-02-22 13:30:30
阅读次数:
336
题目描述: In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a ...
分类:
其他好文 时间:
2017-02-21 22:23:46
阅读次数:
171
html5默认允许用户缩放页面,如果需要禁止缩放,我们需要将user-scalabel=0设置下。 具体代码如下: <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" n ...
分类:
移动开发 时间:
2017-02-20 13:55:50
阅读次数:
287
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 要求是输入n个坐标点,输出最多有多少个点在同一条直线上。 代码提交如下: 不足之处: 利用y = k ...
分类:
其他好文 时间:
2017-02-20 00:49:41
阅读次数:
249
在mysql的limit用法中,网上有这样的论述: "//为了检索从某一个偏移量到记录集的结束所有的记录行,可以指定第二个参数为 -1: mysql> SELECT * FROM table LIMIT 95,-1; // 检索记录行 96-last. " 写这句话的人自己肯定没有实际去操作,因为这 ...
分类:
数据库 时间:
2017-02-19 13:49:00
阅读次数:
228
题目: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may co ...
分类:
其他好文 时间:
2017-02-19 10:16:27
阅读次数:
182
Maximum Clique Problem Description Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an e ...
分类:
其他好文 时间:
2017-02-18 22:29:12
阅读次数:
212
转自海乐学习原文WebService出错 Maximum message size quota for incoming messages (65536) has been exceeded.已超过传入消息(65536)的最大消息大小配额 问题1:WebService出错 Maximum messa ...
分类:
Web程序 时间:
2017-02-18 17:03:19
阅读次数:
314