Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.
Your task is counting the segments of different colors you can see at last.
...
分类:
其他好文 时间:
2014-08-14 10:47:38
阅读次数:
222
Qracle11gduplicate功能不用备份源库,通过网络复制出standby库1.在standby上grid用户配置listener注意是指定oracle用户的家目录:监听状态:[grid@dg~]$lsnrctlLSNRCTLforLinux:Version11.2.0.4.0-Productionon19-MAY-201418:46:15Copyright(c)1991,2013,Oracle.Allrightsrese..
分类:
数据库 时间:
2014-08-14 03:54:08
阅读次数:
492
Problem Description
Continuous Same Game is a simple game played on a grid of colored blocks. Groups of two or more connected (orthogonally, not diagonally) blocks that are the same color may be remo...
分类:
其他好文 时间:
2014-08-13 22:29:17
阅读次数:
288
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representatio...
分类:
其他好文 时间:
2014-08-13 22:17:17
阅读次数:
189
readdir, readdir_r - 读一个目录readdir函数: struct dirent *readdir(DIR*dirp);The data returned by readdir() may be overwritten by subsequent callsto readdi.....
分类:
编程语言 时间:
2014-08-13 22:06:57
阅读次数:
386
最近有个FAT文件系统非正常umount导致sdcard挂载异常,进入errors处理,remount-ro了。[ 7993.545483] c0 FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corr...
分类:
其他好文 时间:
2014-08-13 17:58:46
阅读次数:
226
Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowingthat Ray has a photographic memory and this may no...
分类:
其他好文 时间:
2014-08-13 17:54:56
阅读次数:
260
Insertion Sort is a simple sorting technique which was covered in previous challenges. Sometimes, arrays may be too large for us to wait around for in...
分类:
其他好文 时间:
2014-08-12 18:13:14
阅读次数:
404
题目:
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A P L S I I G
Y I R
And then read line by line: "PAHNAPLSIIG...
分类:
其他好文 时间:
2014-08-12 00:47:43
阅读次数:
196
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-08-11 21:13:02
阅读次数:
219