Common WordsLet's continue examining words. You are given two string with words separated by commas. Try to find what is common between these strings....
分类:
其他好文 时间:
2014-08-05 10:54:19
阅读次数:
190
The Most Wanted LetterYou are given a text, which contains different english letters and punctuation symbols. You should find the most frequent letter...
分类:
其他好文 时间:
2014-08-05 10:41:10
阅读次数:
276
昨天还用的好好的VSS今天早上一来就提示:Cannot find SS.INI file for user ***度娘了一下,好像都是说的:1,vss\users\***\ 下无文件SS.INI若无从别处copy一个2,vss\users\***\ 下有文件SS.INI修改vss下users.txt...
分类:
其他好文 时间:
2014-08-05 09:27:08
阅读次数:
170
引起的原因: 由于设置了@ResponseBody,要把对象转换成json格式,缺少转换依赖的jar包,故此错。解决办法:1 2 org.codehaus.jackson3 jackson-core-asl4 5 6 ...
分类:
其他好文 时间:
2014-08-05 00:14:08
阅读次数:
754
_.find(document.styleSheets[4].cssRules,function(cssRule){
if(cssRule.selectorText && cssRule.selectorText.indexOf(".navbar-fixed-top2")>-1){
cssRule.style.position="";
cssRule.style.top = ...
分类:
Web程序 时间:
2014-08-04 21:46:58
阅读次数:
363
find命令语法:find搜索路径匹配表达式功能:该命令用于在指定路径中查找符合条件的文件,搜索路径可以是多个目录,不同目录之间以空格分隔(1)匹配表达式1-namefilename:要查找的文件名。可以使用通配符“*”,“?”,但要用双引号将文件名引起来例子:root#find–name“h*?.
分类:
系统相关 时间:
2014-08-04 18:21:28
阅读次数:
309
在Windows中可以在某些路径中查找文件,也可以设定不在某些路径中查找文件,下面用Linux中的find的命令结合其-path -prune参数来看看在Linux中怎么实现此功能。假如在当前目录下查找文件,且当前目录下有很多文件及目录(多层目录),包括dir0、dir1和dir2 ...等目录及d...
分类:
系统相关 时间:
2014-08-04 17:21:17
阅读次数:
300
转的: 把某目录下的所有子目录和子目录下面的下层和更下层目录也添加到CLASSPATH里面,更具需求写了两句,发上来分享,备忘。 在Linux下可以通过这样的方法把/opt/.../lib目录下的所有jar文件添加到CLASSPATH CLASSPATH=$CLASSPATH:`find/o...
分类:
其他好文 时间:
2014-08-04 17:17:07
阅读次数:
192
最短路问题。Dijkstra,SPFA,Floyd 都可求。题意非常明了,求最安全的路,乘起来就好了。有个小优化就是SPFA 算过的起点就不再去算了。还有推断一下终点,開始没推断,WA了一发。#include#include#include#include#include#include#inclu...
分类:
其他好文 时间:
2014-08-04 14:04:07
阅读次数:
175
题目:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm....
分类:
编程语言 时间:
2014-08-04 13:34:47
阅读次数:
373