先看一下语言模型的格式
[html]
view plaincopyprint?
\data\ ngram 1=64000 ngram 2=522530 ngram 3=173445 \1-grams: -5.24036 'cause -0.2084827 -4.675221 'em -0.221857 -...
分类:
其他好文 时间:
2014-05-07 06:04:11
阅读次数:
388
[Question]
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to t...
分类:
其他好文 时间:
2014-05-07 05:37:44
阅读次数:
278
linux 下安装jdk及配置jdk环境
一:先检测是否已安装了JDK
执行命令:
# rpm -qa|grep jdk
或
# rpm -q jdk
或
#find / -name jdk*
/soft/openfire_java/jdk-7u40-linux-x64.rpm
/usr/java/jdk1.7.0_15
/usr/java/jdk1.7.0_...
分类:
系统相关 时间:
2014-05-07 05:06:00
阅读次数:
427
由于最近刚接手做静态库的同事的工作,这样难免的集成调试啊,但是集成之后老是出现linker command failed with exit code 1这个错误,查了许多资料,最后终于解决了,今天就这个问题做个探讨,以防止以后犯同样的错误,我先说下我这个项目里面错误的解决办法,然后再笼统的说下其他的解决办法。。
好,这是我出现 linker command failed with...
分类:
移动开发 时间:
2014-05-07 04:12:07
阅读次数:
431
For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.
Input
The first line is an integer T, which is the the...
分类:
其他好文 时间:
2014-05-06 19:21:10
阅读次数:
290
#find/usr-namepxelinux.0#find/usr/share-namepxe*#find/usr-namepxelinux.?#tail/etc/passwd#find/-userapache#find/-usernamed#df-i#find/-inum1016273--execrm-fr{}\;#find/-size+204800-execrm-fr{}\;#find/etc-nameinit*-okls-l{}\;#find/-size204800#find/-size+204800(..
分类:
其他好文 时间:
2014-05-06 16:44:34
阅读次数:
258
chen@chen-pc~/demo/abc/bin$railsc
/home/chen/.rvm/gems/ruby-2.0.0-p451/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in`autodetect‘:CouldnotfindaJavaScriptruntime.Seehttps://github.com/sstephenson/execjsforalistofavailableruntimes.(ExecJS::RuntimeUnavailable)..
分类:
编程语言 时间:
2014-05-06 16:13:25
阅读次数:
407
项目中用到了地图相关的东西,就把以前的demo搬了出来,结果发现直接运行之前的demo没有问题,在xcode5下新建项目再把代码粘贴过来就会提示
May 5 11:36:21 infomedia-iPod-touch TestLocation[1465] : CGBitmapContextCreate: unsupported parameter combination: 5 integer ...
分类:
移动开发 时间:
2014-05-06 15:17:46
阅读次数:
769
【Question】
Given an array S of n integers, are there elements a, b, c in S such
that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in ...
分类:
其他好文 时间:
2014-05-06 14:57:29
阅读次数:
318