目录1)基本2)数学函数3)rownum4)分页5)时间处理6)字符函数7)to_number8)聚合函数9)学生选课10)图书馆借阅基本--新建表:create
table table1( id varchar(300) primary key, name varchar(200) not nul...
分类:
数据库 时间:
2014-05-12 16:11:47
阅读次数:
590
Given an unsorted array of integers, find the
length of the longest consecutive elements sequence.For example,Given[100, 4,
200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-05-10 20:06:26
阅读次数:
404
两个Activity之间的传参的具体做法如下: 1.新建一个Bundle类 Bundle
bundle=new Bundle(); 2.向Bundle类中放入数据(类似于map) bundle.putString("key" ," value");
3.新建一个intent对象,并将该bund...
分类:
其他好文 时间:
2014-05-06 09:05:48
阅读次数:
349
Problem DescriptionFor a sequence S1, S2, ... , SN,
and a pair of integers (i, j), if 1 2 #include 3 #include 4 #include 5 using
namespace std...
分类:
其他好文 时间:
2014-05-05 23:50:08
阅读次数:
445
①申请API
KEY②SelectFile>Import>Android>Existing Android Code Into Workspaceand
clickNext.导入google-play-services_lib③SelectFile>New>Other>Android
Sample ...
分类:
其他好文 时间:
2014-05-05 23:05:06
阅读次数:
344
1.使用字典的坏处:一般情况下,设置数据和取出数据都使用“字符串类型的key”,编写这些key时,编译器不会有任何友善提示,需要手敲dict[@"name"]
= @"Jack"; NSString *name = dict[@"name"];手敲字符串key,key容易写错 Key如果写错了,编译...
分类:
其他好文 时间:
2014-05-05 23:03:39
阅读次数:
298
Given an unsorted array of integers, find the
length of the longest consecutive elements sequence.For example,Given [100, 4,
200, 1, 3, 2],The longest...
分类:
其他好文 时间:
2014-05-05 23:01:41
阅读次数:
374
Problem
Link:http://oj.leetcode.com/problems/longest-consecutive-sequence/This problem
is a classical problem where we can reduce the running time by ...
分类:
其他好文 时间:
2014-05-05 22:55:22
阅读次数:
552
建立map的方式(其实用的是json实现方式)
var a = {};
a["key1"] = "value1";
a["key2"] = "value2";
既然是个map就有检索某个键是否存在的方法,这样写
if ("key1" in a) {
// something
} else {
// something else
}
简单的一句话声明map里面的key和valu...
分类:
编程语言 时间:
2014-05-02 19:21:46
阅读次数:
332
Okay for centos 6.4 also On apu.0xdata.loc,
after this install was done$ which python /usr/local/bin/python$ python -VPython
2.7.3$ ls -ltr /usr/local...
分类:
编程语言 时间:
2014-05-02 12:53:59
阅读次数:
609