Benny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these ...
分类:
其他好文 时间:
2015-04-05 06:22:39
阅读次数:
143
WeLongDaWoodmanufacturehardwoodcore3timehotpressfilmfacedplywood.Thecoreofthiskindfilmfacedplywoodismadefrom13layersfor18mmthicknessmarineplywood.filmfacedplywood,Brownphenolicfilm,WBPglue,hardwoodcore1220x2440x18mm--------US超342/CBMFOBQingdaoport,ChinaLoa..
分类:
其他好文 时间:
2015-04-04 16:56:11
阅读次数:
130
1751: [Usaco2005 qua]Lake CountingTime Limit:5 SecMemory Limit:64 MBSubmit:190Solved:150[Submit][Status][Discuss]DescriptionDue to recent rains, water...
分类:
其他好文 时间:
2015-04-03 23:48:33
阅读次数:
226
Simple StringProblem's Link: http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1550Mean:略。analyse:水题。Time complexity: O(n)Source code:// Memory Time...
分类:
其他好文 时间:
2015-03-29 23:18:15
阅读次数:
222
WeLongDaWoodmanufacturehardwoodcore3timehotpressfilmfacedplywood.Thecoreofthiskindfilmfacedplywoodismadefrom13layersfor18mmthicknessmarineplywood.filmfacedplywood,Brownphenolicfilm,WBPglue,hardwoodcore1220x2440x18mm--------US瑞342/CBMFOBQingdaoport,ChinaLoa..
分类:
其他好文 时间:
2015-03-29 18:13:08
阅读次数:
160
代码:#include#includeusing namespace std;int maxArea(vector &height){ int L = height.size(); int i = 0; int j = L - 1; int max = 0; int l...
分类:
其他好文 时间:
2015-03-28 20:22:35
阅读次数:
132
题目链接: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 endpoi...
分类:
其他好文 时间:
2015-03-28 08:59:02
阅读次数:
147
题目链接:trapping-rain-water
import java.util.Stack;
/**
*
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...
分类:
移动开发 时间:
2015-03-27 22:22:39
阅读次数:
158
https://leetcode.com/problems/trapping-rain-water/Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute ...
分类:
移动开发 时间:
2015-03-20 23:31:14
阅读次数:
204
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'42: Trapping Rain Waterhttps://oj.leetcode.com/problems/trapping-rain-water/Given n non-ne...
分类:
移动开发 时间:
2015-03-20 01:16:24
阅读次数:
184