关键词:打印 PPT 讲义 4张 边距 今天同事问我如何打印PowerPoint的讲义。她自己使用PowerPoint打印讲义,设置每页4张,但是页边距太大;觉得浪费很大。经过网上查阅后,现将方法抄录如下:(注意不是所有的打印机都支持)1、打印内容处,不要选择“讲义”。选择幻灯片,然后单击属性。2、...
分类:
其他好文 时间:
2014-09-11 20:41:52
阅读次数:
142
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-09-11 20:41:12
阅读次数:
111
a = new Object(); b = new Object(); a['你好[眼见]'] = "y"; a['b[e]'] = "e"; b['[t]'] = "tete"; b['[y]'] = "yyyy"; a['b[at]'] = b ; //a =...
分类:
其他好文 时间:
2014-09-11 20:41:02
阅读次数:
311
package com.yqcf.util;import java.io.File;import java.io.FileInputStream;import java.io.IOException;import javax.servlet.ServletOutputStream;import ja...
分类:
Web程序 时间:
2014-09-11 20:40:52
阅读次数:
278
Main Categories By including one of the Main Categories in an application‘s desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated t...
分类:
其他好文 时间:
2014-09-11 19:38:52
阅读次数:
253
如果你的服务器,只做一个网站,基本不要配置 如果有多虚拟主机的话,应该是把泛域名那个网站作为默认的虚拟主机 设置服务器支持泛域名。 <VirtualHost *:80> ??????? ServerAdmin yourmail@yourdomain.co...
分类:
其他好文 时间:
2014-09-11 19:38:42
阅读次数:
205
River Hopscotch
题目链接:Click Here~
题目分析:
给出N坐标,固定起点(0)终点在L出(题目给出)要求删除M个坐标使得,使得剩下的相邻的两个坐标之间的最小距离的值最大。求这个最大值。
思路分析:
不知道为什么就是想到了用二分枚举这个最小距离最大的值,以下我们假设为D。要如何去做呢?
1、首先,我们可以用二分得到这...
分类:
其他好文 时间:
2014-09-11 19:31:02
阅读次数:
265
1.蛇形方阵:
1 2 3
6 5 4
7 8 9
外层控制层数,内层根据列数控制方向:0 则往右走 N-1则往左走
#include
#include
#include
#define SIZE 100
int a[SIZE][SIZE];
int main(int argc, const char ...
分类:
其他好文 时间:
2014-09-11 19:30:22
阅读次数:
199
写这篇文章是因为看到别人博客里用了很长一个篇幅(超过50行)去解决一个约瑟夫环问题,而且还是用以简洁著称的python,另外,如果你用X度搜索python 约瑟夫,看到得前几条都是错的,真是好悲剧。
总的来说,就是误人子弟。
虽然,用模拟去解决这个约瑟夫环问题效率是很低的,但是,这更容易理解。
先上代码。
def josephus(n,k):
link=range(1,n+1)
...
分类:
编程语言 时间:
2014-09-11 19:30:12
阅读次数:
258
搭建sftp,需要三个部分: zlib(包含zlib,zlib-devel),openssl,openssh,所需要的rpm包在csdn里都有
1.一般的linux系统,包括rehat,centos等基本都有安装openssl
检测: which openssl
由于依赖性的问题,强制安装openssl-devel
rpm -ivh --nodeps --force openssl-...
分类:
系统相关 时间:
2014-09-11 19:29:22
阅读次数:
296