Given an unsorted integer array, find the first missing positive integer.For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2.Your algorithm s...
分类:
其他好文 时间:
2014-08-24 20:47:42
阅读次数:
214
1 error C2572: “****”: 重定义默认参数 : 参数 12 3 默认参数只需在声明原型时使用,定义的时候就不需要。error C2572
分类:
其他好文 时间:
2014-08-24 20:47:22
阅读次数:
218
Abs ProblemTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeAlice and Bob is playing a game, and this time the game is all about the absolu.....
分类:
其他好文 时间:
2014-08-24 20:46:23
阅读次数:
203
此文长期更新,具体根据我博客的样式判定.架构: BlackLowKey页面CSS:div.prob{ box-shadow:0 0 4px #ccf; padding: 2px; text-align:left; border-radius:6px;}div.prob h2{ font-s...
分类:
其他好文 时间:
2014-08-24 20:45:12
阅读次数:
231
The steps:First you need to edit the file in:/etc/hostconfigand remove the lineSince this is a system file I advise you to open it with nano in termin...
分类:
数据库 时间:
2014-08-24 20:45:02
阅读次数:
183
如何将现有的centos系统自带的python升级到2.7版本?
分类:
编程语言 时间:
2014-08-24 20:44:53
阅读次数:
158
先异或求sum,然后求carry,二者的和就是结果,可使还是不能用加号,递归执行,直到b==0。因为每次carry都移位右边多出一个零,然后下一次&的时候必然后面会是0,所以每递归调用一次b后面就多一个零,直到b==0.public class Solution { public static...
分类:
其他好文 时间:
2014-08-24 20:43:43
阅读次数:
259
SPOJ Problem Set (classical)7001. Visible Lattice PointsProblem code: VLATTICEConsider a N*N*N lattice. One corner is at (0,0,0) and the opposite one ...
分类:
其他好文 时间:
2014-08-24 20:42:43
阅读次数:
146
weblogic配置jdbc数据源的过程方法/步骤启动weblogic 管理服务器,使用管理用户登录weblogic管理控制台打开管理控制台后,在左侧的树形域结构中,选择服务->数据源。在右侧的窗口中,选择 新建->一般数据源填写数据源名称,JNDI名,选择数据库类型(本文以Oracle数据库为例)...
分类:
数据库 时间:
2014-08-24 20:42:02
阅读次数:
238