码迷,mamicode.com
首页 >  
搜索关键字:lower    ( 3122个结果
LeetCode Anagrams My solution
Anagrams   Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. public class Solution { public List anagrams(Str...
分类:其他好文   时间:2014-10-31 19:07:14    阅读次数:147
msyql5.5设置不区分大小写
mysql的版本mysql>selectversion()\G***************************1.row***************************version():5.5.39msyql默认是区分大小写的创建数据库ZPFmysql>createdatabaseZPF;QueryOK,1rowaffected(0.00sec)修改my.cnf[mysqld]下添加lower_case_table_names=1重启m..
分类:其他好文   时间:2014-10-30 17:19:44    阅读次数:283
oracle之单行函数
?? 单行函数 ①.字符函数 LOWER(x):将x中的每个单词都转换成小写 UPPER(x):将x中的每个单词都转换成大写 INITCAP(x): 将x中的每个单词的首字母转换成大写 CONCAT(x,y):用于将y添加到x之后,与||功能一样 SUBSTR(x,start[,length]):  用于从x中取得从start位置开始的一个子字符串,    可选参数length:指...
分类:数据库   时间:2014-10-30 15:19:16    阅读次数:303
我的lower_bound实现
从刚开始学习二分法,到现在,具体实现一个二分法一直是很让我头疼的地方,总是不知道哪里出点问题,想要“优雅”地实现,无奈真要做到,必须借助if的力量...int *Lower_bound(int *l,int *r,int k){ //[l,r)为答案区间 //返回满足*point= k) ...
分类:其他好文   时间:2014-10-28 19:51:39    阅读次数:142
LeetCode 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, return 0. Note: A word is defi...
分类:其他好文   时间:2014-10-27 14:26:12    阅读次数:249
hdu--4585--lower_bound()
好久不见 lower_bound()最近 事情太多了 龙兄 来了宁波 我们几个一起陪他玩了几天 那几天就没碰过题了 昨天他回临安了 明年应该就是我们宁波这3个 过去找他了我们 设计了很多创业大计 描绘了美好的蓝图 就差 资金到位了 哈哈~~-------这题的话 就是开始给你一个人的ID与他的能力值...
分类:其他好文   时间:2014-10-26 16:53:48    阅读次数:142
Django——模板系统过滤器
过滤器,变量的显示形式的改变一、形式:小写{{ name | lower }}二、串联:先转义文本到HTML,再转换每行到 标签{{ my_text|escape|linebreaks }}三、过滤器的参数显示前30个字{{ bio | truncatewords:"30" }}格式化{{ pub....
分类:其他好文   时间:2014-10-26 15:29:43    阅读次数:120
[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-10-26 14:18:54    阅读次数:158
关于lower_bound的使用
突然发现lower_bound是一个挺好用的东西,在学习最长不下降子序列的nlogn的算法的时候看到的,C++党写起二分来一行- -P党一排233感觉如果到时候需要用上二分的话,能用lower_bound代替真是省事啊...有时间的话,再好好的研究下这里先简单的mark一下lower_bound的用...
分类:其他好文   时间:2014-10-25 21:19:08    阅读次数:197
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-10-24 13:00:38    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!