树链剖分基础题
#include
#include
#include
using namespace std;
const int maxn = 10010;
struct edge
{
int v, next;
}e[maxn*2];
int first[maxn], cnt;
int top[maxn], dep[maxn], sz[maxn], f[maxn], son[maxn...
分类:
其他好文 时间:
2014-10-06 02:55:39
阅读次数:
179
--CHECKalter table students --修改的表名称add constraint check_stu --定义约束名check(StuNum like '2012[0-9][0-9][0-9][0-9]') --定义详细的约束
分类:
数据库 时间:
2014-10-06 02:52:09
阅读次数:
181
ubuntu source insight 注释 乱码...
分类:
其他好文 时间:
2014-10-06 02:25:09
阅读次数:
281
alter table studentsadd constraint df_Custdefault '人名不详' for Name --指定自动操作的字段以及文字
分类:
数据库 时间:
2014-10-06 02:02:59
阅读次数:
259
alter table teachersadd constraint up_teacherunique(Greade)
分类:
数据库 时间:
2014-10-06 01:46:29
阅读次数:
214
--清除约束ALTER TABLE students --指定约束存在的表DROP CONSTRAINT fr_stu --清除约束
分类:
数据库 时间:
2014-10-06 01:31:09
阅读次数:
230
#includevoid han(int n,char a,char b,char c){ if(n==1) { printf("%c--%c\n",a,c); } else { han(n-1,a,c,b); printf("%c--%c\n",a,c); han(n-1,b,a,c);...
分类:
其他好文 时间:
2014-10-06 01:25:09
阅读次数:
242
--sqlServer支持insert,update,delete三种类型的触发器create trigger deleteTeacheron teachers -- 触发器创建在什么表上面after delete asdelete Students from Students, deleted w...
分类:
数据库 时间:
2014-10-06 00:51:29
阅读次数:
177