语法:declare-->声明变量 begin-->执行部分 exception-->异常 end-->结束 / 最简单的程序:begin null; end; 输出语句:DBMS_output.put_line('****'); begin dbms_output.put_line('hello ...
分类:
数据库 时间:
2014-11-21 14:20:21
阅读次数:
321
注意,这个函数只能转换二进制小数,即形如 0.1101110001的格式,而形如110110.00101001则无法进行转换。function d = bintodec(binstr) binstr = binstr(3:end); %提取小数点后的字符len=length(binstr);s...
分类:
其他好文 时间:
2014-11-21 14:20:04
阅读次数:
490
import java.util.Scanner;public class zhsh_nhh extends Thread{/** * @param args */private int n,start,end;public int q;public int[][] zhshQ=new int[10...
分类:
编程语言 时间:
2014-11-21 10:32:01
阅读次数:
228
SkyllineGlobe提供的可以用来加载显示FLY格式的三维地图工程,可以嵌入到HTML页面中。这个三维地图控件里,封装了在TerraExplorer中的一些快捷键,比如控制方向的"Q/W/A/S/Z/X/Home/Pgup/PgDn/End"等等,但如果我们想重新定义一些快捷键,那么,首先该如...
分类:
其他好文 时间:
2014-11-20 21:42:11
阅读次数:
281
GroupToday's workTomorrow's workMVVM--(leave it for now and do the UI in the end of this sprint)AlgoResolve bug 2348, finish CutPoint methodsCollect t...
分类:
其他好文 时间:
2014-11-20 20:14:54
阅读次数:
164
#include
#include
#include
#include
#include
using namespace std;
/*
*快速排序问题
*/
void Fast_sort(vector& a,int beg,int end)
{
if(beg+1>=end) return;
int key = beg;
for (int i = beg , j = end; i < j;...
分类:
编程语言 时间:
2014-11-20 13:42:12
阅读次数:
201
采用分治策略找出第K小的元素!要求程序的时间复杂度为线性函数。
#include
#include
#include
#include
#include
using namespace std;
/*
*选择问题(线性时间复杂度)
*在beg和end之间查找第k个元素
*/
int Fast_find(vector &vec,int beg,int end,int k)
{
if(k>end...
分类:
其他好文 时间:
2014-11-20 13:42:08
阅读次数:
234
ASP中有关字符编码转换的几个有用函数= Dig+8 then GBStr=GBStr & ConvChinese(mid(UTFStr,Dig,9)) Dig=Dig+8 else GBStr=GBStr & mid(UTFStr,Dig,1) end if else GBStr=GBStr...
分类:
Web程序 时间:
2014-11-20 11:57:02
阅读次数:
264
引入OC类库md5.h:#import @interface Md5Controller : UIViewController@endmd5.m:#import "Md5Controller.h"@interface Md5Controller ()@end@implementation Md5Co...
分类:
编程语言 时间:
2014-11-20 11:39:13
阅读次数:
237
#import #import "ViewController.h"@interface ViewController ()@property(nonatomic, weak) IBOutlet UILabel *label1;@end@implementation ViewController- ...
分类:
其他好文 时间:
2014-11-20 06:44:28
阅读次数:
307