码迷,mamicode.com
首页 >  
搜索关键字:lower    ( 3122个结果
MySQL [Warning] Can’t create test file xxx lower-test(转)
add by zhj:修改的数据库的datadir,然后数据库就无法启动了,错误如下2014-12-11 16:22:57 26309 [Warning] Can't create test file /data/mysql/server2.lower-test2014-12-11 16:22:57...
分类:数据库   时间:2014-12-12 06:39:48    阅读次数:383
【LeetCode】Length of Last Word
Length of Last WordGiven a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.I...
分类:其他好文   时间:2014-12-11 17:02:35    阅读次数:133
Leetcode: Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.分析:此题的题意不是很明确,意思重新表述应该是一组string里面,有几个...
分类:其他好文   时间:2014-12-10 22:28:44    阅读次数:294
正则表达式
元字符:.:匹配任意单个字符[]:匹配指定范围内的任意单个字符[^]: [:digit:]数字 [:lower:] 小写字母 [:upper:]大写字母 [:punct:]标点符号,[:space;]空白字符 [:alpha:]所有字母 [:alnum;]所有数字和字母\或\b: 锚定词尾,其前面的...
分类:其他好文   时间:2014-12-07 22:55:18    阅读次数:283
UVA 11020(Efficient Solutions-multiset的lower_bound)
C++的multiset,可重集: S.lower_bound() 指向迭代器的第一个ai>=k的元素 S.upper_bound() 指向迭代器的第一个ai>k的元素 本题可化为:有n个点坐标(a,b) 一开始平面上没点,每次向其中加一个点,问每次有多少个点,没有在它左下角(不包括本点)(x' 如果P.a 显然一个点一次不符合条件,此后必不符合条件,且如果...
分类:其他好文   时间:2014-12-06 01:27:28    阅读次数:229
hdu4151(二分)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4151题意:找出比n小的没有重复数字的总个数,例如12以内11不符合,1~10都符合。分析:直接利用lower_bound函数找出比n刚好大的位置再减一就是答案。这里a数组从0开始,所以不用减一。#inc...
分类:其他好文   时间:2014-12-06 01:21:55    阅读次数:164
【Leetcode】【Easy】Length of Last Word
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-12-05 23:59:22    阅读次数:322
UVA10474_Where is the Marble?【sort】【lower_bound】
题目大意:给你N个大理石,每块大理石上写了一个非负整数,将大理石从小到大 排序,然后回答Q个问题。问整数x是否在大理石上写着。如果有就回答是第几个大 理石上写着x。 思路:用sort排序,用lower_bound得到数组中大于等于x的位置,看该数组下标上 的数是否等于x。...
分类:其他好文   时间:2014-12-05 21:27:06    阅读次数:150
[LeetCode] Length of Last Word 字符串查找
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-12-04 00:46:14    阅读次数:164
SQL点滴33—SQL中的字符串操作
原文:SQL点滴33—SQL中的字符串操作计算字符串长度len()用来计算字符串的长度 select sname ,len(sname) from student 字符串转换为大、小写lower() 用来将一个字符串转换为小写,upper() 用来将一个字符串转换为大写 select lower('...
分类:数据库   时间:2014-12-03 18:37:01    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!