/* 1.先解决上网 1-1.参照联网状态文件 # cd /etc/sysconfig/network-scripts # vi ifcfg-eth0 1-2.编辑联网状态文件 详见图1-2 1-3.重...
分类:
数据库 时间:
2015-12-25 19:17:10
阅读次数:
204
最近想搞个mailman邮件列表,又不想在我常用的CentOS 6.4上做实验,怕破坏了环境,于是就想装个试验机,又嫌它占空间太大,于是找了半天发现CentOS 6.0的minimal版本最适合了,装完后发现真的是很小,才600多M,不过因为太精简而导致连网络都没有。下面介绍怎么样配置网络,装完系统...
分类:
系统相关 时间:
2015-12-20 17:32:05
阅读次数:
216
Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, return 0 i...
分类:
其他好文 时间:
2015-12-19 16:32:00
阅读次数:
173
Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't one, return...
分类:
其他好文 时间:
2015-12-17 08:13:10
阅读次数:
142
Given a sorted (increasing order) array, Convert it to create a binary tree with minimal height.ExampleGiven [1,2,3,4,5,6,7], return 4 / \ 2 ...
分类:
其他好文 时间:
2015-12-01 07:10:43
阅读次数:
188
C++/** * Definition of TreeNode: * class TreeNode { * public: * int val; * TreeNode *left, *right; * TreeNode(int val) { * this->v...
分类:
其他好文 时间:
2015-11-27 12:53:28
阅读次数:
108
This is only ok in Binary Logic.There are 16 pairs Minimal association phrases. 1 not (a or b) , 2 not (a => b) , not b , 3 not b , not (b => a) , ...
分类:
其他好文 时间:
2015-11-24 20:20:25
阅读次数:
1010
Path sum: four waysNOTE: This problem is a significantly more challenging version ofProblem 81.In the 5 by 5 matrix below, the minimal path sum from t...
分类:
其他好文 时间:
2015-11-23 23:15:12
阅读次数:
248
Path sum: two waysIn the 5 by 5 matrix below, the minimal path sum from the top left to the bottom right, byonly moving to the right and down, is indi...
分类:
其他好文 时间:
2015-11-22 23:13:34
阅读次数:
263
原文:WPF笔记(1.1 WPF基础)——Hello,WPF! Example 1-1. Minimal C# WPF application// MyApp.csusing System;using System.Windows; // the root WPF namespacenamespac...