码迷,mamicode.com
首页 >  
搜索关键字:begin backup    ( 11508个结果
SQL SERVER中的流程控制语句
流程控制语句   是指用来控制程序执行和流程分至点额命令,一般指的是逻辑计算部分的控制。 1.Begin End语句 封装了多个T-SQL语句组合,将他们组成一个单元来处理。一般在条件查询或者循环等控制流程语句中,要查询满足特定条件的操作时会用到。Begin……end可以嵌套使用。 语法如下: begin -- end 例子 begin...
分类:数据库   时间:2014-06-03 05:57:35    阅读次数:303
JSOI2008最大数(线段树)
注意到数列只增不减,而题目中又明确说道my then exit(x) else exit(y); end;procedure build(x,y,k:longint); var mid:longint; begin with t[k] do begin l:=x;r:=y; if ...
分类:Web程序   时间:2014-06-02 14:01:28    阅读次数:247
HNOI2008越狱(快速幂)
快速幂水过,贴一下模版。const mo=100003;var x,y,n,m:int64;function power(num,times:int64):int64; var temp:int64; begin if times=1 then exit(num); temp:=power(num,...
分类:其他好文   时间:2014-06-02 13:29:03    阅读次数:284
HNOI2004宠物收养所(平衡树)
treap!var i,n,x,y,ans,a,b,root,tot,ft:longint; l,r,s,v,hr:array[0..100000] of longint;procedure r_rotate(var x:longint); var y:longint; begin y:=l[...
分类:其他好文   时间:2014-06-02 11:50:43    阅读次数:181
HNOI2002营业额统计(平衡树)
标准的平衡树。贴个splay吧var v,l,r,fa:array[0..100000] of longint; root,x,i,n,ans:longint;procedure zig(x:longint); var y,z:longint; begin y:=fa[x];z:=fa[y]; if...
分类:其他好文   时间:2014-06-01 16:47:21    阅读次数:335
Mysql存储过程知识,案例
Mysql存储过程知识,案例:create procedure delete_setting(in p_settingid integer)begin delete from setting where settingid=p_settingid;endselect `name` from mysq...
分类:数据库   时间:2014-06-01 12:19:33    阅读次数:569
CentOS 6.4 U盘启动盘制作、安装及遇到的问题解决
用UltraISO Premium Edition  9.3 制作的CentOS 6.4 U盘安装盘,安装时提示Press the key to begin the installation process,但是按回车没有任何反应。网上查询发现是 CentOS 6.4 ISO文件中的“vesamenu.c32”有问题,替换syslinux下的“vesamenu.c32”文件 ,问题解决。看到网上...
分类:其他好文   时间:2014-06-01 10:37:12    阅读次数:199
LeetCode: Gray Code [089]
【题目】 The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0. ...
分类:其他好文   时间:2014-06-01 09:16:29    阅读次数:242
设计模式之适配器模式
适配器模式定义:将一个类的接口,转换成客户期望的另一个接口。适配器让原本接口不兼容的类可以合作无间。 简单定义:封装对象,并提供不同的接口。 简单例子: 鸭子接口: package headfirst.adapter.ducks; public interface Duck { public void quack(); public void fly(); } 具...
分类:其他好文   时间:2014-05-31 22:00:43    阅读次数:288
北京邀请赛 H. Happy Reversal
题意:给你一些二进制的数,然后你可以选择按位取反,也可以不变,你只能选择一种,然后让你找出最大和最小,求最大的差值 思路:将取反与不取反都算出来,然后大的放一边,小的放一边,排序后判断#include #include #include #include #define ll long long using namespace std; const int MAXN = 100010; ...
分类:移动开发   时间:2014-05-31 17:44:07    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!