Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
编程语言 时间:
2014-10-27 06:55:21
阅读次数:
213
一、简介ubuntu是一个桌面版本做得比较好的、基于debian的Linux操作系统,它最鲜明的特点在于apt包管理器、unity桌面和大量的ppa。二、下载ISO镜像以 ubuntu 11.04 为例,下面是下载地址: http://old-releases.ubuntu.com/release....
分类:
系统相关 时间:
2014-10-26 18:22:55
阅读次数:
210
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
class Solution {
private:
int res;
public:
int totalNQuee...
分类:
其他好文 时间:
2014-10-26 15:43:03
阅读次数:
168
DescriptionYou all are familiar with the famous 8-queens problem which asks you to place 8 queens on a chess board so no two attack each other. In thi...
分类:
其他好文 时间:
2014-10-26 14:17:03
阅读次数:
207
因为要安装flow-tools,所以需要设置epel源。方法如下:32位系统选择:rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm64位系统选择:rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm导入key..
分类:
其他好文 时间:
2014-10-25 18:53:36
阅读次数:
158
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially fille...
分类:
其他好文 时间:
2014-10-25 17:27:30
阅读次数:
172
经过今天上午的学习发现spring上手开发一个"hello world"真的非常简单。开发环境搭建:1、去spring官网下载spring-framework-3.2.11.RELEASE-dist.zip 。这里带dist的是二进制的jar包,不带dist的是源代码2、eclipse下新建一个j....
分类:
编程语言 时间:
2014-10-25 15:40:58
阅读次数:
159
对于内存较大的Oracle数据库服务器,配置HugePage是很有必要的,下面是配置Huge的步骤:
我的环境:
OS:CentOS release 6.4 (Final)
Oracle:11.2.0.4 RAC
1. 设置memlock
编辑/etc/security/limits.conf
增加:
* Soft memlock 稍小于RAM值
* hard memlock 稍小于RAM值...
分类:
系统相关 时间:
2014-10-25 13:17:26
阅读次数:
482
Release用交叉编译:arm-none-linux-gnueabi-gcc。...
分类:
编程语言 时间:
2014-10-25 13:16:10
阅读次数:
156
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-10-24 23:36:15
阅读次数:
309