update t_resource_info set FILE_ID = UPPER(FILE_ID);update t_resource_my_info set FILE_ID = UPPER(FILE_ID);update t_resource_base set FILE_ID = UPPER(...
分类:
其他好文 时间:
2015-06-26 08:00:28
阅读次数:
98
Problem Description:Given a sorted integer array where the range of elements are [lower,upper] inclusive, return its missing ranges.For example, given...
分类:
其他好文 时间:
2015-06-26 00:25:56
阅读次数:
137
首先创建我们练习grep命令时需要用到的demo文件demo_file。$ cat demo_fileTHIS LINE IS THE 1ST UPPER CASE LINE IN THIS FILE.this line is the 1st lower case line in this file...
分类:
其他好文 时间:
2015-06-24 20:30:49
阅读次数:
133
#58 Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters '
', return the length of last word in the string.
If the last word does not exist,...
分类:
其他好文 时间:
2015-06-24 16:22:21
阅读次数:
141
1601. AntiCAPS
Time limit: 0.5 second
Memory limit: 64 MB
The blonde Angela has a new whim: internet chats. Of course, as any blonde, shewrites her messages using the upper case. You are the ...
分类:
其他好文 时间:
2015-06-24 12:58:34
阅读次数:
120
一、大小写控制函数LOWER(str) 将str的值全部置为小写字母select LOWER('ABC');--结果:LOWER('ABC')abcUPPER(str) 将str的值全部置为大写字母select UPPER('abc');--结果:UPPER('abc')ABC二、字符控制函数C.....
分类:
数据库 时间:
2015-06-22 11:00:17
阅读次数:
1874
lower_bound当target存在时, 返回它出现的第一个位置,如果不存在,则返回这样一个下标i:在此处插入target后,序列仍然有序。代码如下:int lower_bound(int* nums, int numsSize, int target) { //注意left和right的...
分类:
其他好文 时间:
2015-06-21 18:20:38
阅读次数:
112
set head off set lin 150 set pages 0 set long 10000 select TEXT from user_source t where t.name = upper(‘get_car_status_new‘) order by TYPE, LINE; ======================= set pages 0 set longchunks...
分类:
数据库 时间:
2015-06-18 13:47:16
阅读次数:
169
分析:很久以前,在《K&R》上面碰到过这个题,只不过比这个复杂一点。。。。
也是水题,没什么说的,注意一下细节,比如输出的格式等,还有就是,一开始用的for循环,每输入一行结束后就直接打印,好郁闷^~_~^
Description
Write a program to read four lines of upper case (i.e., all CAPITAL LETTE...
分类:
其他好文 时间:
2015-06-17 21:41:36
阅读次数:
112
字符串内建操作字符串长度大小写变换去空格或其他连接字符串查找替换分割判断内建操作字符串长度len代码s = 'abcd'print len(s)大小写变换lower 小写upper 大写swapcase 大小写互换capiatlize 首字母大写代码s = 'aBcd'print s.lower()...
分类:
编程语言 时间:
2015-06-15 21:49:41
阅读次数:
202