码迷,mamicode.com
首页 >  
搜索关键字:air water    ( 5476个结果
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 raini...
分类:移动开发   时间:2014-06-10 08:48:04    阅读次数:267
LeetCode: Container With Most Water 题解
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-06-07 23:03:35    阅读次数:279
设置CameraRollBrowseOptions的宽高
在利用air的CameraRoll调取ios设备的相册时需要定义位置。我们一般这么操作var crOpts:CameraRollBrowseOptions = new CameraRollBrowseOptions();crOpts.height = 480;crOpts.width = 320;c...
分类:其他好文   时间:2014-06-07 10:22:47    阅读次数:227
poj 1422 Air Raid (二分匹配)
Air RaidTime Limit:1000MSMemory Limit:10000KTotal Submissions:6520Accepted:3877DescriptionConsider a town where all the streets are one-way and each s...
分类:其他好文   时间:2014-06-06 23:19:59    阅读次数:319
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-06-04 19:15:23    阅读次数:345
百度编辑器ueditor给上传的图片添加水印
百度编辑器本身是没有为上传图片添加水印的功能,想要在上传的时候添加图片水印,也很简单。以 ueditor 1.2.6 为例,打开php目录下面的imageUp.php文件,查找“$info = $up->getFileInfo();”,在这句代码的下面加入以下代码: /* 添加水印 start */ $water_img = "watermark.png"; //水印文件...
分类:其他好文   时间:2014-06-02 12:20:28    阅读次数:248
Flex中操作XML的E4X方法
用于处理 XML 的 E4X 方法Flash Player 9 和更高版本,Adobe AIR 1.0 和更高版本ECMAScript for XML 规范定义了一组用于使用 XML 数据的类和功能。这些类和功能统称为E4X。ActionScript 3.0 包含以下 E4X 类:XML、XMLLi...
分类:其他好文   时间:2014-05-31 12:37:24    阅读次数:243
[leetcode]_Container With Most Water
题目:在二维坐标系下,有很多个挡板,有两个挡板之间能够积蓄的水的最大面积。如下图所示:思路:我只想到暴力解法,用O(n2)的时间复杂度算出任意两个挡板形成的面积,这必须的过不了。优化解法:O(n).用两个指针 i 和 j 指向整个height[]数组的头尾。if i 指向的高度 决定,因此不会比现在...
分类:其他好文   时间:2014-05-29 17:40:09    阅读次数:312
2014 is really a special year for the jordan 6 carmines
This 2014 is really a special year to the Jordan 6 Carmine, because this year is the 23 anniversary of the Air Jordan 6.To celebrate the air jordan 6,...
分类:其他好文   时间:2014-05-29 08:22:00    阅读次数:320
Oracle 高水位(HWM: High Water Mark)
一. 准备知识:ORACLE的逻辑存储管理. ORACLE在逻辑存储上分4个粒度: 表空间, 段, 区 和 块. 1.1 块: 是粒度最小的存储单位,现在标准的块大小是8K,ORACLE每一次I/O操作也是按块来操作的,也就是说当ORACLE从数据文件读数据时,是读取多少个块,而不是多少行. 每一个...
分类:数据库   时间:2014-05-24 14:13:17    阅读次数:505
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!