码迷,mamicode.com
首页 >  
搜索关键字:water    ( 3290个结果
water Waves Demo
效果图:工程图:代码:#import "ViewController.h"//加入头文件#import "VWWWaterView.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad ...
分类:其他好文   时间:2014-12-26 11:01:34    阅读次数:117
LeetCode:Container With Most Water
题目描述: 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...
分类:其他好文   时间:2014-12-25 11:24:50    阅读次数:163
【leetcode】Trapping Rain Water
Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
分类:移动开发   时间:2014-12-21 21:51:30    阅读次数:234
[leetcode] Trapping Rain Water
Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
分类:移动开发   时间:2014-12-20 16:49:47    阅读次数:159
Container With Most Water -- leetcode
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). Find ...
分类:其他好文   时间:2014-12-17 14:45:13    阅读次数:141
随便聊聊水面效果的2D实现(二)
0. 引子   之前提到想要随便聊一聊RippleEffect的2D实现方法,近来又总算有了些许空余时间,于是便有了这篇东西~   1. 概述     RippleEffect我个人的理解是波纹或者说涟漪效果,与之前所讲的WaterEffect有所不同的是,RippleEffect表现的是水波产生与消散的一个过程,而WaterEffect更注重的则是持续的水波“荡漾”效果。     ...
分类:其他好文   时间:2014-12-15 20:24:54    阅读次数:650
托福听力记录
因为托福听力都是关于某学科的讲座的缘故,听托福听力不仅可以训练听力,也能学到不少知识。1. 古希腊人对力学的认识亚里士多德认为世界上所有的物质都由四种物质构成:土(earth),水(water),气(air),火(fire),其中土的密度最大,而火的密度最小。亚里士多德根据这个理论解释了很多基础的力...
分类:其他好文   时间:2014-12-15 19:02:49    阅读次数:213
【LeetCode】Trapping Rain Water
Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
分类:移动开发   时间:2014-12-15 15:03:44    阅读次数:184
[LeetCode] Trapping Rain Water 栈
Givennnon-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.Fo...
分类:移动开发   时间:2014-12-11 20:46:47    阅读次数:232
【LeetCode】Trapping Rain Water解题报告
【题目】 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-12-08 15:32:44    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!