[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
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
Alice and Bob
Problem Description
Alice and Bob's game never ends. Today, they introduce a new game. In this game, both of them have N different rectangular cards respectively. Alice wants to us...
分类:
其他好文 时间:
2014-09-23 20:09:26
阅读次数:
239
Description
Farmer John has purchased a lush new rectangular pasture composed of M by
N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of square...
分类:
其他好文 时间:
2014-09-23 17:30:45
阅读次数:
191
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 31140
Accepted: 13551
Description
Flip game is played on a rectangular 4x4 field with two-sided p...
分类:
其他好文 时间:
2014-09-23 15:16:14
阅读次数:
167