当数据库已经建好在DB里,SQL Server 2005 和 SQL Server 2008使用.Bak文件还原的时候,会出现 error : "The backup set holds a backup of a database other than the existing" 查了网上的方法:...
分类:
数据库 时间:
2014-07-02 18:48:45
阅读次数:
203
题比较容易读懂,但是建模需动点脑子:
一个子串加常数形成的子串认为跟子串相同,求最长不重叠重复子串
题目中说
is disjoint from (i.e., non-overlapping with) at least one of its other appearance(s)
意味着不能重叠,举个例子
1, 2,3, 52, 53,54
1,2, 3和 52, 5...
分类:
其他好文 时间:
2014-07-02 15:15:01
阅读次数:
289
Domino Effect
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8224
Accepted: 2068
Description
Did you know that you can use domino bones for other things b...
分类:
其他好文 时间:
2014-07-02 09:30:10
阅读次数:
294
Rectangle and Circle
Problem Description
Given a rectangle and a circle in the coordinate system(two edges of the rectangle are parallel with the X-axis, and the other two are parallel with the Y...
分类:
其他好文 时间:
2014-07-02 07:29:06
阅读次数:
268
Targets选项下有Other linker flags的设置,用来填写XCode的链接器参数,如:-ObjC -all_load -force_load等。还记得我们在学习C程序的时候,从C代码到可执行文件经历的步骤是:源代码 > 预处理器 > 编译器 > 汇编器 > 机器码 > 链接器 > 可...
分类:
移动开发 时间:
2014-07-01 20:31:43
阅读次数:
271
还是读了很长时间的题,不过题本身很简单。可以把四棵树想象成正方形的四个顶点,已知两个相对顶点的坐标,求另外两个坐标。不过,原题可没直接这么说,中间需要一些小证明。题中说有一个平行四边形然后分别以四条边为边长向外作正方形,四棵树就在四个正方形中心的位置。这是我用几何画板画的图。下面证△FOE≌△HGO...
分类:
其他好文 时间:
2014-07-01 10:14:31
阅读次数:
316
Originally, I installed an Ubuntu using Wubi on my company's laptop (Lenovo W520). One purpose is for fun, the other is to use some instant messengers...
分类:
其他好文 时间:
2014-06-30 12:26:40
阅读次数:
326
题目
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-que...
分类:
其他好文 时间:
2014-06-30 00:34:18
阅读次数:
188
From gtk+-2.10.2 configure --help we can see (I just only view the 2.10.2, not know other 2.10.x):--with-gdktarget=[x11/linux-fb/win32/quartz/directfb...
分类:
系统相关 时间:
2014-06-29 18:48:27
阅读次数:
430
DWR(Direct Web Remoting)
DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible.
Dwr能让在服务器端的java代码和浏览器客户端的javascript代...
分类:
其他好文 时间:
2014-06-28 07:33:18
阅读次数:
338