1.如何隔离封面等不需要插入页码的页面:
首先插入分节符下一页(一定是分节符),再在下一页(即要开始插入页码的页面)选择视图-->页眉和页脚-->设置为取消链接到前一页、设置页码格式为起始页码-->插入页码2.如何插入去除封面的总页数:
你只需要用总页数减去封面页数就行了,象平时一样插入总的页数,按...
分类:
其他好文 时间:
2014-05-26 05:30:35
阅读次数:
254
??
1、Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter...
分类:
其他好文 时间:
2014-05-26 05:03:19
阅读次数:
172
using System;using System.Collections.Generic;using
System.Text;using Word = Microsoft.Office.Interop.Word;namespace ELO.BLL{ /* *
Descrip...
分类:
其他好文 时间:
2014-05-25 23:20:06
阅读次数:
420
JavaScript:R=0; x1=.1; y1=.05; x2=.25; y2=.24;
x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images;
DIL=DI.length; function A(){for(i=0...
分类:
编程语言 时间:
2014-05-25 18:44:35
阅读次数:
337
word中创建文本框
在插入中点击“文本框”选项卡,如下图所示:
手工添加自己想要的文本框格式,然后选择所创建的文本框,在工具栏处会发现多了一个“格式”选项卡,点击,可以对文本框进行设置,如外观的纹理等等,如下图所示:...
分类:
其他好文 时间:
2014-05-25 11:14:57
阅读次数:
210
word生成pdf保留书签设置
点击“另存为”选项:
在另存为界面选择保存为pdf,如下,会出现“选项”设置项,点击进入:
在选项中,设置需要的设置,若要将pdf保留word中的标题作为书签,则需设置如下图,"创建标签时使用"选项勾选即可。...
分类:
其他好文 时间:
2014-05-25 11:12:51
阅读次数:
265
【题目】
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 defined as a character sequence consists of non-space ...
分类:
其他好文 时间:
2014-05-25 07:39:05
阅读次数:
256
题目连接:uva 417 - Word Index
题目大意:按照题目中的要求,为字符串编号,现在给出字符串,问说编号为多少,注意字符串必须为递增的,否则编号为0。
解题思路:其实就是算说比给定字符串小并且满足递增的串由多少个。dp[i][j]表示第i个位为j满足比给定字符串小并且满足递增的串。
dp[i][j]=∑k=0j?1dp[i?1][k].
注意每次要处理边界的情况,并且...
分类:
其他好文 时间:
2014-05-24 22:59:44
阅读次数:
304
import java.util.stream.*;
class KV{
String ch;
int id;
}
public class Test {
private static void print(String text, int offset) {
IntStream.range(0, text.length())
.mapToObj(i -> new KV(){{c...
分类:
编程语言 时间:
2014-05-24 22:09:03
阅读次数:
363