码迷,mamicode.com
首页 >  
搜索关键字:largest rectangular    ( 1806个结果
Maximum Product Subarray
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],t...
分类:其他好文   时间:2014-10-15 12:52:20    阅读次数:160
Largest Rectangle in Histogram
Largest Rectangle in Histogram  Total Accepted: 18582 Total Submissions: 86792My Submissions Given n non-negative integers representing the histogram's bar height where the width of each b...
分类:其他好文   时间:2014-10-14 16:38:09    阅读次数:154
sicily 1012. Stacking Cylinders
Time Limit: 1sec Memory Limit:32MBDescriptionCylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular bin. Each cylinder on an uppe....
分类:其他好文   时间:2014-10-14 16:02:08    阅读次数:227
Maximal Rectangle
[leetcode]Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area....
分类:其他好文   时间:2014-10-14 13:49:48    阅读次数:148
POJ 2836 Rectangular Covering 题解 《挑战程序设计竞赛》
POJ 2836 Rectangular Covering铺地板:坐标平面上有n各点,用任意大小(非零)的地板砖覆盖它们,求最省的地板砖总面积。3.4熟练掌握动态规划状态压缩DP先预处理数据,将n个点两两组合形成n * (n-1) / 2个矩形,计算每个矩形的面积和内部点个数。接着利用预处理数据来枚...
分类:其他好文   时间:2014-10-13 20:36:57    阅读次数:193
Flip Game(枚举)Poj
?? Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 31329   Accepted: 13622 Description Flip game is played on a rectangular 4x4 field with two-sided...
分类:其他好文   时间:2014-10-13 19:12:17    阅读次数:489
hdu 2136 (Largest prime factor)就是简单 的筛选素数法
Largest prime factor Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7009    Accepted Submission(s): 2482 Problem Description Every...
分类:其他好文   时间:2014-10-13 13:10:47    阅读次数:207
RRC聚类算法
(原创文章,转载请注明出处!)RRC(recursive rectangular clustering)的基本思想是通过递归的对包含所有样本点的局域进行矩形分割来达到对数据聚类的目的。算法来至文章Eigentaste: A Constant Time Collaborative Filtering ...
分类:编程语言   时间:2014-10-13 13:00:50    阅读次数:206
leetcode-Largest Rectangle in Histogram
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 class Solution { 8 public: 9 int largestRectangleArea(vector &height)...
分类:其他好文   时间:2014-10-12 23:59:48    阅读次数:173
1 Maximum Product Subarray_Leetcode
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-10-12 17:19:08    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!