问题描述: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three int ...
分类:
其他好文 时间:
2016-11-21 18:30:55
阅读次数:
202
CREATE PROCEDURE pageTest --用于翻页的测试 --需要把排序字段放在第一列 ( @FirstID nvarchar(20)=null, --当前页面里的第一条记录的排序字段的值 @LastID nvarchar(20)=null, --当前页面里的最后一条记录的排序字段的值 ...
分类:
其他好文 时间:
2016-11-21 14:26:13
阅读次数:
220
众所周知,ubuntu经常需要安装不同的java版本,他们之间的切换就是一个很大的问题1.Chose another Java loader:sudo update-alternatives –con...
分类:
编程语言 时间:
2016-11-21 11:17:51
阅读次数:
171
Given an array of integers, every element appears twice except for one. Find that single one. 本题利用XOR的特性, X^0 = X, X^X = 0, 并且XOR满足交换律。 single number ...
分类:
其他好文 时间:
2016-11-21 08:48:01
阅读次数:
164
#1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input w ...
分类:
其他好文 时间:
2016-11-20 18:36:12
阅读次数:
183
整理的知识点不全面但是很实用。 主要分三块: (1)JS代码预解析原理(包括三个段落); (2)函数相关(包括 函数传参,带参数函数的调用方式,闭包); (3)面向对象(包括 对象创建、原型链,数据类型的检测,继承)。 JS代码预解析原理 函数相关(包括 函数传参,带参数函数的调用方式,闭包) 面向 ...
分类:
编程语言 时间:
2016-11-20 15:57:40
阅读次数:
200
转自: http://www.blogjava.net/RoyPayne/archive/2012/01/30/369017.htmlhttp://msi110.iteye.com/blog/710183http://blog.csdn.net/xiaoxian8023/article/detail ...
分类:
Web程序 时间:
2016-11-20 13:49:56
阅读次数:
151
外网IP地址可以通过域名访问内外800端口网站,内网地址不可以,需要做回流 《《内网口、外网口都需要做nat映射》》定义ACL3001acl number 3001rule 0 permit ip source 192.168.1.1 0.0.0.255在E0/2端口配置nat servernat ...
分类:
其他好文 时间:
2016-11-20 13:41:07
阅读次数:
509
本文讲解使用DIV+CSS布局最基本的内容,读完本文你讲会使用DIV+CSS进行简单的页面布局。 转载请标明:http://www.kwstu.com/ArticleView/divcss_2013929173533658 关于DIV+CSS布局中用到的CSS必备知识请看:http://www.kw ...
分类:
Web程序 时间:
2016-11-20 13:39:49
阅读次数:
223
对文件操作流程 基本操作 1 2 3 4 5 6 7 8 f = open('lyrics') #打开文件 first_line = f.readline() print('first line:',first_line) #读一行 print('我是分隔线'.center(50,'-')) dat ...
分类:
编程语言 时间:
2016-11-20 13:29:17
阅读次数:
201