Description
Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it ma...
分类:
其他好文 时间:
2014-10-22 20:24:03
阅读次数:
307
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the ...
分类:
其他好文 时间:
2014-10-22 20:22:52
阅读次数:
235
[Description] Given an array with only '1' and '0', find a largest length sub-array which contains equal number of '1' and '0'. Return the largest num...
分类:
其他好文 时间:
2014-10-22 20:14:33
阅读次数:
209
The US ASCII Character SetUS ASCII, ANSI X3.4-1986 (ISO 646 International Reference Version)Codes 0 through 31 and 127 (decimal) are unprintable contr...
分类:
Web程序 时间:
2014-10-22 20:12:32
阅读次数:
399
Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given...
分类:
其他好文 时间:
2014-10-22 19:51:21
阅读次数:
272
Google Code Jam -- Number( 2008 Round C )
求 ( 3 + 5 ^ 0.5 ) ^ N ( 1
( 3 + 5 ^ 0.5 ) ^ N 都可以变形为 ( A + B * ( 5 ^ 0.5 ) ) 的结构
( 3 + 5 ^ 0.5 ) ^ ( N + 1 ) = ( 3 + 5 ^ 0.5 ) * ( 3...
分类:
其他好文 时间:
2014-10-22 18:21:28
阅读次数:
208
本文是学习网络上的文章时的总结,感谢大家无私的分享。
Java提供的java System.getProperties()方法是获取运行环境的系统参数的,综合了网上各位大神的帖子我总结出一些可用属性。
java.version
Java 运行时环境版本
java.vendor
Java 运行时环境供应商
java.vendor.url
Java 供...
分类:
编程语言 时间:
2014-10-22 18:14:27
阅读次数:
216
第一种方法:# lsb_release -aLSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarchDistribut...
分类:
系统相关 时间:
2014-10-22 18:04:42
阅读次数:
271
ngx_palloc.h/* * NGX_MAX_ALLOC_FROM_POOL should be (ngx_pagesize - 1), i.e. 4095 on x86. * On Windows NT it decreases a number of locked pages in a ke...
分类:
其他好文 时间:
2014-10-22 17:58:17
阅读次数:
171
/** * ${tags} *//* (non-Javadoc) * ${see_to_overridden} *//**@declare: <br> * @author: cphmvp * @version: 1.0 * @date: ${date}${time} *//** * .....
分类:
编程语言 时间:
2014-10-22 17:56:45
阅读次数:
229