Problem Description
The light travels in a straight line and always goes in the minimal path between two points, are the basic laws of optics.
Now, our problem is that, if a branch of light goes...
分类:
其他好文 时间:
2014-10-03 04:12:15
阅读次数:
162
http://mirrors.163.com/http://mirrors.sohu.com/http://mirror.lzu.edu.cn/http://mirrors.tuna.tsinghua.edu.cn/http://mirrors.xmu.edu.cn/http://mirrors.u...
分类:
Web程序 时间:
2014-10-02 16:12:33
阅读次数:
222
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-10-02 09:45:52
阅读次数:
184
Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:
其他好文 时间:
2014-10-02 05:53:22
阅读次数:
170
一、LVM的建立:1.添加一块新的硬盘sdb:2.新建四个分区sdb1、sdb2、sdb3、sdb4,分别为1G:3.将sdb1与sdb2组成pv:4.新建卷组mfvg,并将sdb1与sdb2加入其中:5.新建lv:6.格式化并挂在lv:7.查看新建的lv:二、LVM的增大:将mflv增大到4G:由于pv总大小只有2G,所以需要将pv进..
分类:
其他好文 时间:
2014-10-02 00:13:32
阅读次数:
535
1.下载 wget http://apache.fayea.com/apache-mirror//httpd/httpd-2.2.29.tar.gztar zxvf httpd-2.2.29.tar.gzcd httpd-2.2.29./configure --prefix=/usr/local/h...
分类:
Web程序 时间:
2014-10-01 19:29:11
阅读次数:
272
编译所需软件地址http://mysql.mirror.kangaroot.net/Downloads/ -- 下载需要的mysql版本例如mysql-5.5.39.tar.gz 目前还不太理解mysql那么多的安装包都是干嘛用的,先mark一下。下载的时候注意要下mysql-版本号.tar.gz....
分类:
数据库 时间:
2014-09-30 11:03:42
阅读次数:
281
原题地址:https://oj.leetcode.com/problems/symmetric-tree/题意:判断二叉树是否为对称的。Given a binary tree, check whether it is a mirror of itself (ie, symmetric around ...
分类:
编程语言 时间:
2014-09-29 03:48:56
阅读次数:
195
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2014-09-28 20:10:56
阅读次数:
178
1.ZZSRV2上的LVM配置1.1.磁盘配置#fdisk-l
Disk/dev/sda:21.5GB,21474836480bytes,41943040sectors
Units=sectorsof1*512=512bytes
Sectorsize(logical/physical):512bytes/512bytes
I/Osize(minimum/optimal):512bytes/512bytes
Disklabeltype:dos
Diskidentifier:0x00012974
..
分类:
其他好文 时间:
2014-09-28 18:20:06
阅读次数:
290