码迷,mamicode.com
首页 >  
搜索关键字:keep the customer sa    ( 5823个结果
1057. Stack (30)
/*to solve the problem ,i think we can use stack to maintain the numbers,and list to keep it sorted,which is very important to find the Median number....
分类:其他好文   时间:2014-09-15 19:07:19    阅读次数:181
word-wrap 和 word-break
word-wrap:所有浏览器都支持,允许长单词或URL地址换行到下一行。对长串的英文不起作用word-break在恰当的断字点进行换行。word-wrap:break-word;word-break:break-all:所有主流浏览器都支持,允许在单词内换行。word-break:keep-all...
分类:其他好文   时间:2014-09-15 17:20:19    阅读次数:191
hdu 5008
因为一看到有关子串就主动的联想后缀数组所有后缀的前缀去重后就是所有子串(好像是废话)这样就可以得到每个后缀的子串个数。二分查找到第k个所在的位置。在二分处理所有可以出现该串的sa区间。最小就是维护sa数组。 1 //rank从0开始 2 //sa从1开始,因为最后一个字符(最小的)排在第0位 ...
分类:其他好文   时间:2014-09-15 14:10:49    阅读次数:202
Scala系列:Map和Tuple
Map构造Map不可变:val map = Map("sa" -> 1, "s" -> 2)map("sa") = 3 // errorval emptyMap = newscala.collection.immutable.HashMap[String, Int]可变:val map2 = sca...
分类:其他好文   时间:2014-09-15 14:07:08    阅读次数:252
大数相乘
原文地址: #include #include #include void multiply(char* a, char* b, char* c) { int sa = 0; int sb = 0; int i,j; int *result = NULL; if ((NULL == a) || (NULL == b) || (NULL == c)) { retu...
分类:其他好文   时间:2014-09-15 01:06:58    阅读次数:207
MySQL – optimizer_search_depth
Working on customer case today I ran into interesting problem – query joining about 20 tables (thank you ORM by joining all tables connected with fore...
分类:数据库   时间:2014-09-13 17:17:05    阅读次数:294
汇编语言第二版 程序在dos中执行情况.P86-87
假设程序要被dos系统加载到sa:0000的内存中,在这个地址的内存开始会有256个字节的PSP程序,用于加载程序和dos系统的通信。ds中的地址为sa。真正的程序会在这256个字节之后。所以真正程序的地址是:sa+10H:0000。cs中的地址为:sa+10h为什么是10h,因为段地址要左偏移4位...
分类:编程语言   时间:2014-09-13 11:58:15    阅读次数:196
POJ - 2752 Seek the Name, Seek the Fame (KMP的next[]应用)
Description The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies. They seek the name, and at the sa...
分类:其他好文   时间:2014-09-13 10:40:55    阅读次数:197
Linux 文件系统IO性能优化
对于LINUX SA来说,服务器性能是需要我们特别关注的,包括CPU、IO、内存等等系统的优化变得至关重要,这里转载一篇非常不错的关于IO优化的文章,供大家参考和学习:一、关于页面缓存的信息,可以用cat /proc/meminfo看到。其中的Cached 指用于pagecache的内存大小(dis...
分类:系统相关   时间:2014-09-12 20:39:04    阅读次数:377
如何替换B字段内包含A字段的那部分内容
Customer表A字段 varchar(50) 内容(客户姓名)B字段 varchar(1000) 内容(其他字符...客户姓名...其他字符)需要达到效果:将B字段中的客户姓名替换掉B字段内容替换成(其他字符......其他字符)如何将每个数据行内的B字段内所有符合A字段内容的文字部分替换成空隔...
分类:其他好文   时间:2014-09-12 16:53:53    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!