码迷,mamicode.com
首页 >  
搜索关键字:empty    ( 6963个结果
LeetCode--Compare Version Numbers
Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and co...
分类:其他好文   时间:2015-01-16 11:19:13    阅读次数:104
FindBugs工具常见问题
1,AM: Creates an empty jar file entry (AM_CREATES_EMPTY_JAR_FILE_ENTRY)/AM: Creates an empty zip file entry (AM_CREATES_EMPTY_ZIP_FILE_ENTRY)示例代码:ZipE...
分类:数据库   时间:2015-01-16 09:52:53    阅读次数:193
[LeetCode#58]Length of Last Word
The problem:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the l...
分类:其他好文   时间:2015-01-16 01:07:30    阅读次数:250
LeetCode-Unique Paths II
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the ...
分类:其他好文   时间:2015-01-15 23:54:55    阅读次数:206
LeetCode169——Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the array is non-empty and the majority element al...
分类:其他好文   时间:2015-01-15 13:02:28    阅读次数:204
用LaTeX的pstricks绘图宏包制作一幅图片
现在Geogebra中作一个宏,把重复绘制五角星的动作简化;然后绘制完毕之后导出为pstricks代码: \documentclass[10pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} \psset{xunit=0.2cm,yunit=0.2cm,algebraic=true,dimen=mid...
分类:其他好文   时间:2015-01-15 11:06:20    阅读次数:564
一个由Mysql特性引起的php验证漏洞
某php+mysql系统,mysql数据库中有个user表,其中有个code字段,类型是int(11),这个字段是保存一个随机数,用来找回密码的时候做验证,默认值是0。 找回密码时候的步骤是,首先填写自己邮箱,接收重置密码的邮件,点击链接,访问如下代码:if (!empty($_GET['emai....
分类:数据库   时间:2015-01-15 10:42:03    阅读次数:199
XML之DTD(文档类型定义)
文档类型定义(DTD)可定义合法的XML文档构建模块。它使用一系列合法的元素来定义文档的结构。 DTD 可被成行地声明于 XML 文档中,也可作为一个外部引用。 声明元素 在 DTD 中,XML 元素通过元素声明来进行声明。元素声明使用下面的语法:   [类别可为:EMPTY、(#PCDATA)、ANY] 或者 带有 DTD 的 XML 文档实例 <!DOCTYPE not...
分类:其他好文   时间:2015-01-15 09:23:55    阅读次数:102
Leetcode:Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:其他好文   时间:2015-01-13 23:09:55    阅读次数:151
Java-Compare Version Numbers
Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1  version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and c...
分类:编程语言   时间:2015-01-13 20:00:14    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!