两台机器:172.16.91.101 172.16.91.107在91.101上增加虚拟ip,92网段的ifconfig eth0:1 172.16.92.2 netmask 255.255.255.0 up由于不再同一个网段需要添加路由(与vip交互的机器上):增加路由:route add -ne...
分类:
其他好文 时间:
2014-07-16 23:21:32
阅读次数:
284
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2014-06-28 09:55:50
阅读次数:
205
DescriptionFor the daily milking, Farmer John'sNcows (1 ≤N≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game o...
分类:
其他好文 时间:
2014-06-28 09:32:17
阅读次数:
200
Visio有许多强大的Mash-up混聚功能,使它可以轻松集成到SharePoint 2010中。...
分类:
Web程序 时间:
2014-06-28 08:58:05
阅读次数:
314
题目:
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-06-28 08:17:11
阅读次数:
305
首先双连通缩点建立新图(顺带求原图的总的桥数,其实由于原图是一个强连通图,所以桥就等于缩点后的边)
此时得到的图类似树结构,对于新图求一次直径,也就是最长链。
我们新建的边就一定是连接这条最长链的首尾,这样就将原图的桥减少了直径个。
#include
#include
#include
#include
#include
#include
using namespace std;
#...
分类:
其他好文 时间:
2014-06-28 07:18:36
阅读次数:
278
USE [LMSEnhance]GO/****** Object: StoredProcedure [dbo].[up_GAB_GetProductInfoList] Script Date: 2014/6/26 15:01:27 ******/SET ANSI_NULLS ONGOSET QUOT...
分类:
其他好文 时间:
2014-06-27 15:47:21
阅读次数:
138
Given an array of integers, find two numbers such that they add up to a specific target number.
分类:
其他好文 时间:
2014-06-27 12:59:50
阅读次数:
176
1.基本的,eclipse的特色CTRL + D 删除当前行ALT + Up/Down 上移 下移当前行CTRL+ALT+UP/DOWN 复制当前行,并粘贴到下一行。如果选中了多行(可按下shift+up/down选中多行),一次复制粘贴多行。eclipse经典快捷键,一定要学会!ALT + Left/Right eclipse记住了你编辑的地方,按下这两个键可以在历史编辑处来回跳转。同时编辑多个...
分类:
系统相关 时间:
2014-06-27 09:24:51
阅读次数:
286
更新或者提交前执行一下cleanup。如果在当前目录执行该命令后,仍然提示锁定,就到上一层目录再执行下。
分类:
其他好文 时间:
2014-06-27 06:49:29
阅读次数:
221