全局配置 debug delimiters unsafeDelimiters silent async devtools 全局 API Vue.extend Vue.nextTick Vue.set Vue.delete Vue.directive Vue.elementDirective Vue. ...
分类:
其他好文 时间:
2018-06-09 17:56:02
阅读次数:
167
Problem description Hooray! Berl II, the king of Berland is making a knight tournament. The king has already sent the message to all knights in the ki ...
分类:
其他好文 时间:
2018-06-08 22:12:14
阅读次数:
206
一、常用字符串操作 upper(x)把字母变成大写 lower(x)把字母变成小写 split(str,num) 对字符串进行切割,返回一个列表:str-分隔符,默认为所有的空字符,包括空格,换行(\n),制表符(\t)等;num -- 分割次数 strip(chars ) 移除字符串头尾指定的字符 ...
分类:
编程语言 时间:
2018-06-08 20:30:20
阅读次数:
185
题目描述: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters ...
分类:
其他好文 时间:
2018-06-07 19:18:44
阅读次数:
170
1.<? extends E> <? extends E> 是 Upper Bound(上限) 的通配符,用来限制元素的类型的上限。 赋值 List<? extends Fruit> fruits; 表示集合中的元素类型上限为Fruit类型,即只能是Fruit或者Fruit的子类,因此对于下面的赋值 ...
分类:
编程语言 时间:
2018-06-06 15:45:34
阅读次数:
195
头文件 : algorithm vector<int>a a中的元素必须升序,用的是二分 lower_bound(a.begin(),a.end(),k) 返回a容器中,最右边的小于等于k的地址,取值范围是a.begin()到a.end(); upper_noubd(a.begin(),a.end( ...
分类:
其他好文 时间:
2018-06-05 23:18:37
阅读次数:
199
一、字符转换函数 1、ASCII() 返回字符表达式最左端字符的ASCII 码值。在ASCII()函数中,纯数字的字符串可不用‘’括起来,但含其它字符的字符串必须用‘’括起来使用,否则会出错。 2、CHAR() 将ASCII 码转换为字符。如果没有输入0 ~ 255 之间的ASCII 码值,CHAR ...
分类:
其他好文 时间:
2018-06-04 21:29:32
阅读次数:
144
Oracle中常用的字符串函数有以下几种: 1、upper() 将字符串的内容全部转换为大写、lower() 将字符串的内容全部转换为小写。具体用法: select upper('test'),lower('TEST') from dual 2、initcap()--将字符串的首字母变成大写。具体用 ...
分类:
数据库 时间:
2018-06-04 21:29:24
阅读次数:
147
strip,lstrip,rstirp,split,format,join, replace,startswith,endswith,lower, upper,isdigit append,(del,remove,pop), insert,index,count,clear,copy, extend ...
分类:
其他好文 时间:
2018-06-04 00:57:43
阅读次数:
183
python中字符串对象提供了很多方法来操作字符串,功能相当丰富。 这些方法的使用说明见 "官方文档:string methods" ,本文对它们进行详细解释,各位以后可将本文当作手册。 这里没有模式匹配(正则)相关的功能。python中要使用模式匹配相关的方法操作字符串,需要 导入re模块。关于正 ...
分类:
编程语言 时间:
2018-06-03 10:46:09
阅读次数:
145