https://oj.leetcode.com/problems/combination-sum-ii/http://blog.csdn.net/linhuanmars/article/details/20829099publicclassSolution{
publicList<List<Integer>>combinationSum2(int[]num,inttarget)
{
if(num==null||num.length==0)
returnCollections.empty..
分类:
其他好文 时间:
2015-01-03 08:12:50
阅读次数:
185
http://sebug.net/paper/books/scipydoc/numpy_intro.htmlnpArr1=np.array([1,2,3],[4,5,6],[7,8,9]])npArr1[0] #0th rownpArr1[0][1] #oth row ,1stcolumnnpArr...
分类:
编程语言 时间:
2015-01-01 07:52:59
阅读次数:
232
转自: http://blog.itpub.net/29867/viewspace-716088/ (修改部分内容) wget --restrict-file-name=ascii -m -c -nv -np -k -E -p http://www.w3school.com.cn/ wget --r...
分类:
Web程序 时间:
2014-12-29 22:59:40
阅读次数:
208
wget -c -r -np -k -L -p http://www.domain.com参考 http://www.v2ex.com/t/147870
分类:
系统相关 时间:
2014-12-25 21:47:23
阅读次数:
525
public?static?void?main(String[]?args)?throws?Throwable
{
/*
1、未运行程序前,到cmd控制台查看netstat是否有数据库连接
C:\>netstat?-np?TCP?|?grep?1521
*/
oracle.jdbc.driver.OracleDriver...
分类:
数据库 时间:
2014-12-24 13:34:45
阅读次数:
180
同matlab一样,matplot也可画散列图scatter。 1 import numpy as np 2 import matplotlib.pyplot as plt 3 #fig = plt.figure() 4 #ax = fig.add_subplot(111) 5 a1 = np.ar...
分类:
编程语言 时间:
2014-12-19 00:21:25
阅读次数:
527
下边代码是关于numpy的一些基本用法,包括数组和矩阵操作等... 1 import numpy as np 2 print "print version==>" 3 print np.version.version 4 print "1-dimensional array==>" 5 print ...
分类:
编程语言 时间:
2014-12-18 00:02:52
阅读次数:
283
NA,NP,IE们整天都会接触到loopback接口,他们在培训的时候,会从书上学到很多关于loopback,很多复习提纲上都会有整整两页的纸将loopback接口的作用总结得让人看到就不禁想要背下来。
Linuxer们也会接触到这个接口,但是在称呼上比职业网管省力多了,他们会将其称为lo,音节..
分类:
系统相关 时间:
2014-12-14 07:16:53
阅读次数:
167
标准化(Standardization)
是按某个维度进行标准化,例如有下面的矩阵
>>> X = np.array([[ 1., -1., 2.],
... [ 2., 0., 0.],
... [ 0., 1., -1.]])
正态分布标准化后的结果就是
array([[ 0. ..., -1.22...,...
分类:
其他好文 时间:
2014-12-13 23:23:21
阅读次数:
278
wget -c -r -np -k -L -p http://www.xxxx.com参考wget的安装http://blog.csdn.net/ssihc0/article/details/7572180mac下仿站工具,在回复中有网友列出了命令http://www.v2ex.com/t/1478...
分类:
Web程序 时间:
2014-12-13 21:46:48
阅读次数:
219