Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-10-24 12:28:03
阅读次数:
211
今天又舔着脸开始LeetCode的征程了,本来是写在CSDN的,无奈遇上他家博客老是在升级中。。。题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the...
分类:
其他好文 时间:
2014-10-24 00:11:43
阅读次数:
151
关键词:bluedroid bluez作者:xubin341719(欢迎转载,请注明作者,请尊重版权,谢谢!)欢迎指正错误,共同学习、共同进步!!一、名词解释:(有用信息增加中……)BTI F: Bluetooth InterfaceBTU : Bluetooth Upper LayerBTM: Bluetooth Manager BTE :Bluetooth embedded systemBT...
分类:
移动开发 时间:
2014-10-22 18:22:07
阅读次数:
383
1.定义:
type ref_cur is ref cursor;
2.动态cursor作为out参数 存储过程的实现
举个最简单的例子,根据table name动态获取cursor
PROCEDURE P_GET_CUR(I_TABLE_NAME IN VARCHAR2, O_REF_CUR OUT REF_CUR) AS
BEGIN
IF UPPER(I_TABLE_N...
分类:
其他好文 时间:
2014-10-21 13:52:48
阅读次数:
196
取值:disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian...
分类:
其他好文 时间:
2014-10-20 18:58:28
阅读次数:
284
??
查看表空间使用情况
select upper(f.tablespace_name) "表空间名",
d.tot_grootte_mb "表空间大小(m)",
d.tot_grootte_mb - f.total_bytes "已使用空间(m)",
to_char(round((d.tot_grootte_mb - f.total_byt...
分类:
数据库 时间:
2014-10-19 21:26:45
阅读次数:
281
上代码,server端:importsocket,os
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
host=‘‘
port=1051
s.bind((host,port))
s.listen(4)
while1:
conn,addr=s.accept()
while1:
data=conn.recv(1024)
ifnotdata:break
os.system(data)
conn.sendall(data.upper())#把字..
分类:
编程语言 时间:
2014-10-18 03:08:52
阅读次数:
212
[leetcode]Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string....
分类:
其他好文 时间:
2014-10-15 11:06:50
阅读次数:
205
SICP 习题 2.8 需要我们完成区间运算的减法,区间运算的加法书中已经有了,代码如下:(define (add-interval x y)
(make-interval (+ (lower-bound x) (lower-bound y))
(+ (upper-bound x) (upper-bound y))))
以上代码很简单,就是计算区间的加法时将两个区间的起点相加,称为新区间...
分类:
其他好文 时间:
2014-10-09 02:37:17
阅读次数:
176
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5072
区域赛果然无水题
通过率最高的一道题 以为二分下就OK 然后WA了果断 外加int没用long long WA
好久没用RMQ 调试也花了一点时间,
upper——bound返回的是大于x的第一个数的下标,最大当然是返回end的位置,注意判断下
注意一点,假设...
分类:
其他好文 时间:
2014-10-07 20:01:44
阅读次数:
213