码迷,mamicode.com
首页 >  
搜索关键字:word    ( 17506个结果
[LeetCode] Word Break
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For e...
分类:其他好文   时间:2014-06-18 22:11:44    阅读次数:200
java 输出流
//输出流 @Test public void testOutStream() throws Exception{ OutputStream out =new FileOutputStream("abc.txt"); String content="hello word/nwww.baidu.c.....
分类:编程语言   时间:2014-06-18 21:16:47    阅读次数:280
MongoDB操作
通过服务器中转访问其他服务器:su - ptkfcz输入passwordssh 用户@转接服务IP使用locate命令定位mongo位置进入mongo的bin目录下:输入命令进去mongoDB:./mongo IP:端口show dbs,use db,show tables
分类:数据库   时间:2014-06-18 20:18:05    阅读次数:248
如何取消Word文档保护密码(密码的破解方法)
Word-“取消文档保护”密码的破解方法 方法一(简单有效):启动word 文档,新建一个空白文档,执行“插入文件” 命令,打开“插入文件”对话框,定位到需要解除保护的文档所在的文件夹,选中该文档,单击“插入”按钮,将加密保护的文档插入到新文档中,文档保护会被自动撤销。方法二:打开文档后,将其另存为...
分类:其他好文   时间:2014-06-18 18:25:51    阅读次数:142
根据html生成Word文件,包含图片
根据html内容生成word,并自动下载下来。使用到了itext-1.4.6.jarimport java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.InputStrea...
分类:Web程序   时间:2014-06-18 18:21:18    阅读次数:284
[LeetCode] Word Break II
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 po...
分类:其他好文   时间:2014-06-17 21:15:35    阅读次数:211
word去格式按钮
用此一刷去格式,可以刷边框,底纹,页眉等。
分类:其他好文   时间:2014-06-17 20:54:52    阅读次数:114
topcoder SRM 618 DIV2 WritingWords
只需要对word遍历一遍即可 int write(string word) { int cnt = 0; for(int i = 0 ; i < word.length(); ++ i){ cnt+=word[i]-'A'+1; ...
分类:其他好文   时间:2014-06-17 14:01:50    阅读次数:206
将Word转为带书签的PDF
将word文档存为PDF可以带来很多便利,在这里就不多说了。下面讨论一下转换方法。我现在使用的是Word2010+Acrobat9,所以这里仅讨论使用这种组合的转换方法。 在Word2010中有两种方式将word文档转换为PDF。一种方法是使用Word自带的“另存为PDF”功能(不装Acroba.....
分类:其他好文   时间:2014-06-17 13:48:12    阅读次数:242
topcoder SRM 618 DIV2 LongWordsDiv2
此题给出的条件是:(1)word的每个字母都是大写字母(此条件可以忽略,题目给的输入都是大写字母)(2) 相等字符不能连续,即不能出现AABC的连续相同的情况(3)word中不存在字母组成xyxy的形式,即不存在第一个字符和第3个字符相等同时第2个字符和第4个字符相等的情况对于第(2)种情况,只需要...
分类:其他好文   时间:2014-06-17 13:47:36    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!