[leetcode] Latest added:2014-09-23Find the contiguous subarray within an array (containing at least one number) which has the largest product.For exam...
分类:
编程语言 时间:
2014-09-28 01:51:00
阅读次数:
499
Largest Rectangle in a HistogramTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:150664-bit integer IO format:%I6...
分类:
其他好文 时间:
2014-09-27 00:56:38
阅读次数:
528
记录动态规划dpl,dpr,分辨记录i左面的比i大的,右面比i大的,然后(dpr[i]-dpl[i]+1)*h[i]得出长度动态转移方程while(temp>1 && h[temp-1]>=h[i]) temp=dpl[temp-1]/********************************...
分类:
其他好文 时间:
2014-09-26 19:01:08
阅读次数:
155
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
For example, given the array [2,3,-2,4],
the contiguous subarray [2,3] has the larges...
分类:
其他好文 时间:
2014-09-26 15:03:38
阅读次数:
359
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
For example, given the array [2,3,-2,4],
the contiguous subarray [2,3] has the larges...
分类:
其他好文 时间:
2014-09-26 01:16:58
阅读次数:
271
package util;import java.awt.Rectangle;import java.awt.image.BufferedImage;import java.io.File;import java.io.FileInputStream;import java.io.InputStre...
分类:
编程语言 时间:
2014-09-25 17:49:57
阅读次数:
213
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
分类:
其他好文 时间:
2014-09-25 15:11:49
阅读次数:
209
题目描述:Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array [2,3,-2,...
分类:
编程语言 时间:
2014-09-25 13:26:28
阅读次数:
281
Problem Description
We use Red, Green and Blue to make new colours. See the picture below:
Now give you n rectangles, the colour of them is red or green or blue. You have calculate the area ...
分类:
其他好文 时间:
2014-09-25 10:46:38
阅读次数:
211
Chapter 15 Introduction to Auto Layout1. You do not define a view’s alignment rectangle directly. You do not have enough information (screen size!)to ...
分类:
其他好文 时间:
2014-09-24 21:38:47
阅读次数:
180