1,查看是否支持硬件虚拟化egrep--color=auto‘(vmx|xvm)‘/proc/cpuinfo2,安装xenyum-yinstallxenkernel-xen3,titleCentOS(3.7.4-1.el6xen.x86_64)root(hd0,0)kernel/xen.gzdom0_mem=512Mcpufreq=xendom0_max_vcpus=1dom0_vcpus_pinmodule/vmlinuz-3.7.4-1.el6xen.x86_64roroot=..
分类:
其他好文 时间:
2014-06-10 23:11:45
阅读次数:
376
SELECT
sum(rcvt.quantity)接收事务处理汇总数--已排除退货--rsh.receipt_num 收据号, --pov.vendor_name
供应商名称, --poh.segment1 采购订单, --pol.line_num 订单行, --PTL.LINE_TYPE 行类.....
分类:
数据库 时间:
2014-06-10 20:22:36
阅读次数:
334
每次打开Office
2013都提示配置进度(包括Word、PPT、Excel等等Office产品都有这种现象),如图,先是显示“安装程序正在准备必要的文件”,接着显示“正在配置MicrosoftOfficeProfessional
Plus 2013"的情况。如果重启完了再打开,还是提示配置进度,...
分类:
其他好文 时间:
2014-06-10 20:17:12
阅读次数:
263
题目
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
方法
从后往前,每个字符进行判断。
public String addBinary(String a, String...
分类:
其他好文 时间:
2014-06-10 17:50:48
阅读次数:
241
水题#include #include #include using namespace
std;int main(){ int n,m; cin >> n >> m; int cnt = 0, sum = 0;
for(int i = 0 ; i > a; i...
分类:
其他好文 时间:
2014-06-10 16:38:18
阅读次数:
226
The most strait forward approach is calculating
all the possible areas and keep the max one as the result. This approach needs
O(n*n) time complexity,...
分类:
其他好文 时间:
2014-06-10 16:11:31
阅读次数:
184
1 #include 2 int main() 3 { 4 int n,sum=0; 5
while(scanf("%d",&n)){ 6 if(n==0) {return 0;} 7 else{ 8 int i,a; 9 ...
分类:
其他好文 时间:
2014-06-10 11:52:19
阅读次数:
312
1 #include 2 int main() 3 { 4 int i,n,a,sum=0;
5 while(scanf("%d",&n)!=EOF){ 6 for(i=0;i<n;i++){ 7 scanf("%d",&a); 8
...
分类:
其他好文 时间:
2014-06-10 11:30:59
阅读次数:
200
1 #include 2 int main() 3 { 4 int T,n; 5 int
a,sum=0; 6 while(scanf("%d",&T)!=EOF){ 7 while(scanf("%d",&n)!=EOF){ 8
...
分类:
其他好文 时间:
2014-06-10 11:22:38
阅读次数:
201
Binary Tree Maximum Path SumGiven a binary
tree, find the maximum path sum.The path may start and end at any node in the
tree.For example:Given the be...
分类:
其他好文 时间:
2014-06-10 10:42:58
阅读次数:
203