码迷,mamicode.com
首页 >  
搜索关键字:begin now    ( 14068个结果
linux基础学习笔记——操作大全
作者:liaoyi更新时间:2014-6-2****************基本操作*****************关机 shutdown -h now root用户 init 0 root用户halt root+一般用户poweroff重启shutdown -r now root用户init.....
分类:系统相关   时间:2014-06-04 18:09:28    阅读次数:712
Mysql 存储过程
1、理解: 把若干条 SQL 语句封装起来,起个名字,就叫过程 把这个过程存储在数据库中,就叫存储过程2、存储过程的创建语法: create procedure procedureName() begin --sql 语句 end$3、查看已有的存储过程: 示例:show procedure sta...
分类:数据库   时间:2014-06-04 14:59:24    阅读次数:274
手机通讯录恢复
前段时间我哥备份手机通讯录备份的是xls表格格式(我也不知道为什么要导出成这样的,,,汗死),然后现在导入不进去了,用各种软件都是错误。我导出为vcard的(后缀是vcf),以文本格式打开看了下,发现是很有格式规范的,顿时觉得有戏了。 BEGIN:VCARD N:;移动客服;;;;;; TEL;CELL:10086 STARRED:False UID:514 VERSION:3.0 REV:20...
分类:移动开发   时间:2014-06-02 15:07:50    阅读次数:370
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
实例365(4)---------使用ChineseLunisolarCalendar 对象由年份获得生肖名,Datetime.now.tostring获得星期几
一:使用ChineseLunisolarCalendar 对象由年份获得生肖名,截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System...
分类:其他好文   时间:2014-06-02 09:48:09    阅读次数:174
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
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!