CREATE FUNCTION REMOVE_ENTER (@DESC
VARCHAR(8000))RETURNS VARCHAR(8000)ASBEGIN DECLARE @STR VARCHAR(8000) SET
@STR=@DESCWHILE SUBSTRING(@STR,LEN...
分类:
数据库 时间:
2014-05-17 04:39:17
阅读次数:
287
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-16 21:15:37
阅读次数:
454
题目
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring is "()", ...
分类:
其他好文 时间:
2014-05-14 01:10:30
阅读次数:
318
asp.net 实现“九连环”小游戏
wildcatsky(原作)
public Class ChinaRing1
Inherits System.Web.UI.Page
#Region " Web 窗体设计器生成的代码 "
'该调用是 Web 窗体设计器所必需的。
Private Sub InitializeComponent()
End Sub
Protected Wi...
分类:
Web程序 时间:
2014-05-14 00:30:45
阅读次数:
390
安装opencv2.0
解压OpenCV-2.0.0.tar.bz2
tar xvf OpenCV-2.0.0.tar.bz2
配置
./configure --host=arm-linux --without-carbon --without-quicktime --without-1394libs --without-ffmpeg --wi...
分类:
系统相关 时间:
2014-05-13 14:51:36
阅读次数:
402
在Win7操作系统下,如果是以Administrator登陆,则VC6.0打开工程文件的时候,不能同时打开多个工程文件,后打开的工程会将前一个工程close掉,这样,VC6.0只能出现一个进程。在xp下,我们可以设置文件打开的默认方式中去掉DDE选项,这样可以使得VC6可以同时打开多个工程,但在wi...
分类:
编程语言 时间:
2014-05-13 10:32:00
阅读次数:
230
You are given a string, S, and a list of words,
L, that are all of the same length. Find all starting indices of substring(s) in
S that is a concatena...
分类:
其他好文 时间:
2014-05-12 22:27:04
阅读次数:
265
function getServiceUrl() {
var serverUrl = Xrm.Page.context.getServerUrl();
if (serverUrl.match(/\/$/)) {
serverUrl = serverUrl.substring(0, serverUrl.length - 1);
}
retur...
分类:
其他好文 时间:
2014-05-11 22:01:16
阅读次数:
261
有一块新买的1T的移动硬盘。买来格式化成ntfs后简单的分了几次区。 4G的硬盘PE,100G的快速交互,剩余800多G分成了两个对等的存储盘。
插到电脑USB接口后, 桌面自动弹出了4个盘符。 打开前2个都没有什么问题, 写读都正常。后面两个一双击就会报错:
Error mounting: mount exited with exit code 1: helper failed wi...
分类:
移动开发 时间:
2014-05-11 20:51:27
阅读次数:
664
1、
??
Surrounded Regions
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.
For e...
分类:
其他好文 时间:
2014-05-11 18:52:32
阅读次数:
293