感谢园子离的Rain Man这哥们,资料非常详细:详情参见:http://www.cnblogs.com/rainman/archive/2011/02/20/1959325.html#m0我摘出来一部分自己收藏:-------------------------------------------...
分类:
Web程序 时间:
2014-11-19 20:25:26
阅读次数:
177
Lake CountingTime Limit:1000MSMemory Limit:65536KTotal Submissions:20958Accepted:10561DescriptionDue to recent rains, water has pooled in various plac...
分类:
其他好文 时间:
2014-11-16 10:36:24
阅读次数:
185
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
分类:
移动开发 时间:
2014-11-15 07:47:26
阅读次数:
242
描述When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of dough ..” , “100 y...
分类:
其他好文 时间:
2014-11-15 06:32:43
阅读次数:
127
问题描述:
Given n non-negative integers a1,
a2, ..., an, where each represents a point at coordinate (i,
ai). n vertical lines are drawn such that the two endpoints of line
i is at (i, ai) and (i, 0...
分类:
其他好文 时间:
2014-11-13 22:32:10
阅读次数:
251
题目描述:
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1...
分类:
移动开发 时间:
2014-11-06 13:06:41
阅读次数:
239
0. 引子
一直想随便写写自己关于水面效果2D实现的一些了解,可惜各种原因一直拖沓,幸而近来有些事情终算告一段落,自己也有了一些闲暇时间,于是便有了这篇东西 :)
1. 概述
关于水面效果的实现方法,google一下非常之多,目前的很多游戏也有非常好的呈现,其中最令我印象深刻的当数《Crysis》~
自己由于工作原因接触过一段时间的Cr...
分类:
其他好文 时间:
2014-11-05 13:11:05
阅读次数:
347
在学习JavaScript的变量作用域之前,我们应当明确几点:JavaScript的变量作用域是基于其特有的作用域链的。JavaScript没有块级作用域。咸宁市中心小学函数中声明的变量在整个函数中都有定义。1、JavaScript的作用域链首先看下下面这段代码:观察alert(rain);这句代码...
分类:
编程语言 时间:
2014-11-03 20:49:45
阅读次数:
236
A problem is easy描述When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of d...
分类:
其他好文 时间:
2014-11-02 17:57:15
阅读次数:
141
Transfer waterTime Limit: 5000/3000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others) 【Problem Description】XiaoA lives in a village. Last year...
分类:
其他好文 时间:
2014-11-01 17:38:35
阅读次数:
253