/**************枚举*****************///public enum Colors{//Red,Yellow,Blue,Black,White//}//public static void main(String[] args) {//Colors c = Colors....
分类:
其他好文 时间:
2014-07-06 17:01:16
阅读次数:
204
1、查看机器型号 [root@local ~]# dmidecode | grep "Product Name" Product Name: VMware Virtual Platform Product Name: 440BX Desktop Reference Platform2、查询Linux...
分类:
系统相关 时间:
2014-07-02 20:12:21
阅读次数:
310
#box{color:red;/*所有浏览器都支持*/color:red!important;/*Firefox、IE7支持*/_color:red;/*IE6支持*/*color:red;/*IE6、IE7支持*/*+color:red;/*IE7支持*/color:red\9;/*IE6、IE7、IE8支持*/color:red\0;/*IE8支持*/}
分类:
Web程序 时间:
2014-07-02 10:58:18
阅读次数:
164
Linux6.264位安装oracle11g目录一、安装环境...1二、系统要求...1三、安装准备...1四、软件环境配置...21、oracle必备的开发工具...22、修改操作系统核心参数...33、创建oracle用户及组...4五、安装过程...4六、数据库建库...15七、安装监听...23一、安装环境Linux服务器:RedH..
分类:
数据库 时间:
2014-07-02 06:50:03
阅读次数:
331
1 //Accepted 164 KB 0 ms 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 queue qx,qy; 8 int n,m; 9 int ans;10 int d[][...
分类:
其他好文 时间:
2014-07-01 22:48:49
阅读次数:
194
Sort colors:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the...
分类:
其他好文 时间:
2014-07-01 12:57:43
阅读次数:
179
算法的原理在:
点击打开链接
原理大概意思是:将R,G,B各分量信息 颜色信息划分为 N 区间。
例如下图:4X4X4 的区间
red
0-63
64-127
128-191
192-255
blue
0-63
43
78
18
0
64-127
45
67
33
2
128-191
1...
分类:
其他好文 时间:
2014-07-01 08:42:47
阅读次数:
181
直接上代码
/*
* bst.h
*
* Created on: Jun 20, 2014
* Author: buyuanyuan
*/
#ifndef BST_H_
#define BST_H_
#include
#include
typedef enum Color {
RED = 0,
BLACK = 1
} Color;
typede...
分类:
其他好文 时间:
2014-07-01 06:11:04
阅读次数:
224
Swift’s API includes many functions and instance methods that reflect its functional programming heritage. A prime example is calledreduce.You can red...
分类:
移动开发 时间:
2014-07-01 00:27:22
阅读次数:
329
POJ 1979 题解
很简单的一道上手的深搜题目,题目意思很简单,就是不能走红色的砖。从起点开始深搜就行了。...
分类:
其他好文 时间:
2014-06-30 17:47:49
阅读次数:
228