码迷,mamicode.com
首页 >  
搜索关键字:word ladder    ( 17552个结果
Java Web总结二十Filter、装饰设计模式
一、Filter的部署——注册Filter testFitler org.test.TestFiter word_file /WEB-INF/word.txt 1、用于为过滤器指定一...
分类:编程语言   时间:2014-05-27 01:37:02    阅读次数:310
用Aspose.Cells控件读取Excel
Aspose是一个很强大的控件,可以用来操作word,excel,ppt等文件,用这个控件来导入、导出数据非常方便。其中Aspose.Cells就是用来操作Excel的,功能有很多。我所用的是最基本的功能,读取Excel的数据并导入到Dataset或数据库中。读取Excel表格数据的代码如下: 首先...
分类:Web程序   时间:2014-05-23 09:40:20    阅读次数:345
2014华为实习上级笔试题-- 统计字符串中出现的单词
#include //#include using namespace std;     struct node {       char word[10];     int num; }; node obj[100];   void my_word(char input[], char output[]) {    int sum=0,flag=0;...
分类:其他好文   时间:2014-05-22 12:41:25    阅读次数:233
按单词(word)反转字符串(string)输出(output)——不用额外缓存(without a buffer)
一道笔试题,纸上写的,誊到电脑上并调试通过。没经验,摸索的野蛮做法,不知道有没有更简洁更抽象的算法。 是英文题,原题是不用buffer(缓存)反转字符串打印输出,受OJ的毒害,我就认为只要逆序打印就行了(要是把原字符串改了,我还真不知道怎么办到,尤其听说字符串常量不能被更改,在文章尾部会做验证)。 版本一: 用了一下递归,思路是用指针遍历字母,每碰到空格就用新指针往下递归调用...
分类:其他好文   时间:2014-05-22 10:12:28    阅读次数:298
VIM编辑器的使用、
VIM编辑器查看显示行号:setnuVIM消除高亮显示:nohlVIM查找命令:/word(/=windows下的查找命令)设置查看用VIM每次打开文件时自动显示行号:vim/etc/vimrc(在最后一行加入setnu)
分类:其他好文   时间:2014-05-20 23:34:34    阅读次数:331
做了一件自己想做的事,没有原因。
为期两年多的辅修学习,伴随着一场意外频发的答辩似乎走到了尽头。回顾一下吧当初选择的时候多少是有点纠结的,要不要选择第二个专业,选择一个什么样的专业。它对将来有没有帮助,有多大帮助?思前想后,累!最终选了英语,最主要的原因就是本能的想,或者没有原因。现在看来,凭借自己的直觉去做选择往往是正确的,对,F...
分类:其他好文   时间:2014-05-19 19:44:33    阅读次数:186
读取硬盘序列号
#pragma hdrstop #pragma argsused #include #include #include #include "hdd.h" const WORD IDE_ATAPI_IDENTIFY = 0xA1; // 读取ATAPI设备的命令 const WORD IDE_ATA_IDENTIFY = 0xEC; // 读取ATA设备的命令 const in...
分类:其他好文   时间:2014-05-18 14:36:24    阅读次数:430
LeetCode: Substring with Concatenation of All Words [029]
【题目】 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 and without any intervening characters. For example, given: S:...
分类:其他好文   时间:2014-05-18 08:31:48    阅读次数:228
LeetCode:Reverse Words in a String
题目: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". Clarification: What constitutes a word? A sequence of non-spa...
分类:其他好文   时间:2014-05-18 04:12:07    阅读次数:198
站在巨人的肩膀上——人事项目数据导出word
最近在做人事项目中的,数据导出word,具体的说就是从web客户端页面获取信息,添加到信函模板中,再导出为word文档。总结一下,学会了两种方法,1.通过将word模板转换为html文件,输出word。2.利用第三方组件Aspose.Words操作word模板,输出word。...
分类:其他好文   时间:2014-05-18 03:44:24    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!