之前有个html"
target=_blank>xp下利用控制面板的cpl文件留后门,然后又有了用.cpl文件加账号的技术,lcx真的很厉害今天研究了一下用户控制面板文件nusrmgr.cpl,发现调用的是Shell.Users来加用户,它还同时调用了wscript.shell、Shell.Appl...
css tab 选项卡据说有2中实现方式1. target css32。 描点2的
核心原理是利用描点显示问题(描点父级 overflow)。 美食 娱乐 购物 住宿 11111111111111111 222222222...
分类:
Web程序 时间:
2014-05-15 11:47:10
阅读次数:
350
Two SumGiven an array of integers, find two
numbers such that they add up to a specific target number.The function twoSum
should return indices of the...
分类:
其他好文 时间:
2014-05-15 10:48:59
阅读次数:
322
class Solution {public: bool search(int A[],
int n, int target) { if (n A[mid]) { right = mid; sep = A[mid]; ...
分类:
其他好文 时间:
2014-05-15 09:29:52
阅读次数:
177
要学习vSphere,很多情况下,都需要多台物理设备才能搭建一个环境,没有环境怎么办?如果你已经有了一台现成的ESXi主机,那么一个可行的方法在其上安装几台ESXi虚拟机。有不少文章已经写了如何在VMwareWorkstation8或更高版本上安装ESXi,今天我们来讲如何在ESXi5.5的hyperviso..
分类:
其他好文 时间:
2014-05-15 08:46:48
阅读次数:
362
LeetCode-001 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2...
分类:
其他好文 时间:
2014-05-15 04:34:50
阅读次数:
293
题意:给定一组数和另一个数,在这组数中找两个数,使它们的和等于给定的数
思路1: --> 错,因为题目要求返回下标。
1.排序
2.两个下标,一个指向头,一个指向尾
3.如果下标指向的两个元素相加大于给定的数,尾下标减一
如果小于,头下标加一
思路2: hash
1.用hash存储每个数的下标
2.数组,看hash[target-num[i]]是否存在
复杂度:时间O(n), 空间O(n)...
分类:
其他好文 时间:
2014-05-15 01:28:13
阅读次数:
297
[ 问题: ]
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the ta...
分类:
其他好文 时间:
2014-05-15 00:04:39
阅读次数:
377
实际上也是一个二分查找的问题。
要找出范围,决定了当找到这个数时不能马上返回,如果找target最前面的那个位置,只有当这个位置等于target,且这个位置的前一个位置不等于target时,才能返回这个位置。如果找的是target最后面的那个位置,那么只有当这个位置等于target,且这个位置的后一个位置不等于target时,才会返回它。不满足返回条件时,下一次递归走什么位置也不一样,找前面的时...
分类:
其他好文 时间:
2014-05-14 21:58:25
阅读次数:
350
BBS:bbs.51osos.com zzsi_ljz注册信箱是:pyfx2008@qq.comBLOG:zzljz.lofter.comcysky.blog.51cto.com 技术网站:www.51cto.com cyskywww.oschina.compyfx2008@qq.comhttps://git.oschina.net/ pyfx2008@qq.com我的个性:http://git.oschina/net/zz..
分类:
Web程序 时间:
2014-05-14 17:21:22
阅读次数:
283