码迷,mamicode.com
首页 >  
搜索关键字:inverted index    ( 33590个结果
Leetcode: ZigZag Conversion
一道数学题,参考了网上的思路,先计算一下每一个zig包含的字符个数,实际上是zigSize = nRows + nRows – 2然后一行一行的加s中的特定元素就行。第一行和最后一行都只需要加一个字符,每一个zig,而且在s中的index间隔是zigSize。中间每一行需要添加两个字符到结果中去。第...
分类:其他好文   时间:2014-06-13 08:32:52    阅读次数:264
发送JS错误日志到服务器
JS记录错误日志/捕捉错误   //onerror提供异常信息,文件路径和发生错误代码的行数的三个参数。window.onerror = function(e,url,index){ var msg = e.message || e|| "未知错误"; alert("错误信息:"+msg+",错误路...
分类:Web程序   时间:2014-06-12 21:29:30    阅读次数:488
Thinkphp 源码分析
ThinkPHP是国内非常火的一个轻量级框架,采用MVC模式,结构写的非常好,今天大象带大家走一下ThinkPHP框架系统运行流程,我将跟随ThinkPHP的执行进行代码讲解,第一课,先讲解URL路由解析一、ThinkPHP框架目录/test/index.php//项目入口文件/ThinkPHP/T...
分类:Web程序   时间:2014-06-12 18:48:29    阅读次数:463
[leetcode]Jump Game @ Python
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given an array of non-negative integers, you are initially positioned at the first index of the arr...
分类:编程语言   时间:2014-06-12 18:04:54    阅读次数:540
Unable to read TLD "META-INF/c.tld" from JAR file
错误:org.apache.jasper.JasperException:/index.jsp(2,0)UnabletoreadTLD"META-INF/c.tld"fromJARfile"file:/D:/svnframe/web/WEB-INF/lib/standard-1.1.2.jar":解决:移除lib下的jsp-api.jar和servlet-api.jar即可
分类:其他好文   时间:2014-06-10 23:46:20    阅读次数:312
Question about of Softlayer IPSec
http://w3.insidepacket.net/index.php/16-softlayer-ipsec-4Recently,oneSoftlayercustomercomplainedthattheyhaveissuewhentheserversonthecorporatenetworktalktoVMguestonSoftlayer.TheyfoundthattheirVMguestsinSoftlayeralwaysseethesamesourceIPwhendifferenthostsfromt..
分类:其他好文   时间:2014-06-10 23:18:52    阅读次数:209
通过eclipse的egit插件提交提示Auth fail
git可以add to index-->commit。但在pull的时候出现: org.eclipse.jgit.api.errors.transportexception。 解决办法: Eclipse  windows-->preferences-->general-->security-->secure storage-->contents-->GIT. 选中ssh后点击delete。 ...
分类:系统相关   时间:2014-06-10 18:29:59    阅读次数:3547
excle查找操作-vlookup的使用心得
百度了一下vlookup的语法规则: 该函数的语法规则如下: VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) 参数 简单说明 输入数据类型 lookup_value 要查找的值 数值、引用或文本字符串 ...
分类:其他好文   时间:2014-06-10 18:13:53    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!