Word Break IIGiven a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.Retur...
分类:
其他好文 时间:
2014-06-28 09:45:34
阅读次数:
223
各位学员请注意!在前面免费课程中讲到查找替换最后一个实例时当初只介绍了三种方法,在此补加第四种方法。同时,视频内容已经更新!!!原实例描述的是:要求针对WORD中某一个指定段落中关键字进行查找替换(把正文第一段中的所有“Microsoft”替换为“微软”)。第4种方法也..
分类:
其他好文 时间:
2014-06-28 00:39:38
阅读次数:
251
本篇文章记录字符设备的驱动框架:1.定义cdev接口体和class结构体#define HELLO_CNT 2static int major = 0;//主设备号为0,需要让系统自动生成主设备号static struct cdev hello_cdev;static struct class *c...
分类:
系统相关 时间:
2014-06-27 22:36:58
阅读次数:
423
前言:汇编语言,对下取决于体系结构;对上取决于汇编器。在linux下,GCC编译出来的汇编默认为ATT语法的汇编,本文主要介绍ATT汇编:操作数长度、立即数表示方法,寄存器引用,操作数顺序,符号常量,内存引用等。
1,操作数的长度
操作数的长度用加在指令后的符号表示 b(byte, 8-bit), w(word, 16-bits), l(long, 32-...
分类:
其他好文 时间:
2014-06-27 10:44:54
阅读次数:
800
题目
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once an...
分类:
其他好文 时间:
2014-06-27 10:24:26
阅读次数:
219
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 d...
分类:
其他好文 时间:
2014-06-27 10:18:32
阅读次数:
151
SQL语句:
select syscolumns.name,systypes.name,syscolumns.length
from syscolumns
join sysobjects on syscolumns.id=sysobjects.id and sysobjects.xtype='U'
join systypes on systypes.xtype=syscolumns.x...
分类:
数据库 时间:
2014-06-27 09:57:03
阅读次数:
251
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.
Return all such possible sentences.
For example, given
s = "...
分类:
其他好文 时间:
2014-06-27 09:23:00
阅读次数:
220
编写自己软件的安装程序。这里只是创建安装程序类型的文件,当然创建出来也是不能用的。找了好多天资料,看了好多天英语,终于能创建出msi文件了,用orca打开是正确的文件格式,值得自己记录一下了,msi数据库里面的各种表关系复杂,不是一时半刻能研究清楚的,现在先记录一个开头吧。希望研究过msi c++ 编程的大神们给点指导。想实现的目标是写一个程序附到软件程序后面,这样可以在编译完成后直接会有安装程序msi文件。就像平常下载的软件,可以写注册表,创建桌面快捷方式,注册各种软件用到的组件和功能。就简单的hello...
分类:
编程语言 时间:
2014-06-27 07:26:32
阅读次数:
279
Excel分列的使用看到一条全国姓氏人数排名前20位的新闻,中间提供了具体数据,但是估计是从word中复制的数据,格式错乱,就用Excel处理下。处理结果如下图:一、函数处理方法单元格说明A列原始数据B–E列分离出的数据B2=mid(A2,1,2)C2=MID($A2,FIND(“”,$A2,1)+1,1)D2=VALUE(..
分类:
其他好文 时间:
2014-06-27 06:33:15
阅读次数:
354