Since the 70′s, vi and vim are very popular text editors among programmers. 5 years ago, I wrote an article named “100 vim commands every programmer should know” and here is a reworked, updated ...
分类:
其他好文 时间:
2014-07-31 13:45:06
阅读次数:
362
Problem Description
Given a positive integer n, your task is to find a positive integer m, which is a multiple of n, and that m contains the least number of different digits when represented in decim...
分类:
其他好文 时间:
2014-07-30 14:46:03
阅读次数:
230
新的语言WWDC简短的介绍,新的语言Swift就问世了,尽管新语言的名字导致贴吧下歌手粉丝和开发人员们争抢地盘- -,只是雨燕就是这么来了。WWDC keynote里给Swift打上了非常多标签:Closures,Generics,Namespaces,Type inference,Multiple...
分类:
其他好文 时间:
2014-07-30 09:56:03
阅读次数:
268
*cisco路由器常用命令
*
1?Exec?commands:?
<1-99>?恢复一个会话
bfe?手工应急模式设置
clear?复位功能
clock?管理系统时钟
configure?进入设置模式
connect?打开一个终端
copy?从tftp服务器拷贝设置文件或把设置文件拷贝到tftp服务器上
debug?调试功能
disable?退出优..
分类:
其他好文 时间:
2014-07-29 15:53:39
阅读次数:
386
1.必须向CST_COMP_SNAP_INTERFACE表中插入此工单所有工序的数据(也就是说同样的工单插入多条,只是工序号不一样)
标准文档:
Note: If there are multiple operation sequences then,
Insert multiple records in CST_COMP_SNAP_INTERFACE, one record for e...
分类:
其他好文 时间:
2014-07-29 14:22:58
阅读次数:
283
POJ 2355 Find a multiple(组合数学-抽屉原理)
题目大意:
有n个数,找出一个方案满足:从中选出任意多的数字使得它们的和对n求余为0
解题思路:
用sum[i]记录前 i 项的和。
(1)如果存在某个sum[i]%n==0 ,那么就已经找到了,就是前i项。
(2)如果不存在,则sum[i]%n的取值范围为1~n-1 那么n项sum必然有 sum[i]%n==sum[j]%n,这时候(sum[j]-sum[i])%n=0,也就是 第i+1项到第j项的和对n求余为0,也满足条件了。...
分类:
其他好文 时间:
2014-07-29 12:50:17
阅读次数:
238
鸽笼原理题,以后得好好研究下相关题目。 1 /* 2 ID:esxgx1 3 LANG:C++ 4 PROG:poj2356 5 */ 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 12 #defin...
分类:
其他好文 时间:
2014-07-29 12:17:26
阅读次数:
214
The present invention allocates resources in a multi-operating system computing system, thereby avoiding bottlenecks and other degradations that resul...
分类:
其他好文 时间:
2014-07-28 11:25:00
阅读次数:
302
http://poj.org/problem?id=1106Time Limit:1000MSMemory Limit:10000KTotal Submissions:4488Accepted:2379DescriptionIn a wireless network with multiple tr...
分类:
其他好文 时间:
2014-07-27 22:54:59
阅读次数:
273
1. basic optionssed [options] {command} {input-file}sed -nsed -n 'p' a.out打印a.out文件内容-n: 取消默认打印到屏幕功能sed -fsed [options] -f {sed-commands-in-file} {i.....
分类:
其他好文 时间:
2014-07-27 22:35:39
阅读次数:
375