码迷,mamicode.com
首页 >  
搜索关键字:largest rectangular    ( 1806个结果
[LintCode] Maximal Square 最大正方形
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Given a 2D binary matrix filled with ...
分类:其他好文   时间:2016-07-15 06:08:33    阅读次数:111
Codeforces#200 div.2
Description Mad scientist Mike entertains himself by arranging rows of dominoes. He doesn't need dominoes, though: he uses rectangular magnets instead. Each magnet has two poles, positive (a "plus"...
分类:其他好文   时间:2016-07-12 12:23:03    阅读次数:537
333.Largest BST Subtree
...
分类:其他好文   时间:2016-07-11 00:47:13    阅读次数:181
HDU 2795:Billboard(线段树)
http://acm.hdu.edu.cn/showproblem.php?pid=2795 Billboard Problem Description At the entrance to the university, there is a huge rectangular billboard ...
分类:其他好文   时间:2016-07-10 21:16:29    阅读次数:190
Project Euler Solution: Problem 3
Largest prime factor Problem 3 Problem 3 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ...
分类:其他好文   时间:2016-07-10 01:01:20    阅读次数:346
LeetCode 215. Kth Largest Element in an Array
Problem: https://leetcode.com/problems/kth-largest-element-in-an-array/ Find the kth largest element in an unsorted array. Note that it is the kth lar ...
分类:其他好文   时间:2016-07-09 19:16:14    阅读次数:184
179. Largest Number
转成String,然后按照一定的规律排序,最后再连起来,如果给的值里全是0(一个或多个),那就返回“0”,否则返回连起来的结果。 排序的规则: 如果一位一位比较,如果某个数在前面的数字比较大,那么这个数就放前面。 如果两个数不一样长,并且前面的数字都相同,那么就那短的那个,和长的那个后面多出来的半截 ...
分类:其他好文   时间:2016-07-09 08:12:54    阅读次数:129
POJ 2559 Largest Rectangle in a Histogram
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18942 Accepted: 6083 Description A histogram is a polygon composed of a sequence of rectang ...
分类:其他好文   时间:2016-07-07 22:16:39    阅读次数:162
LeetCode OJ 152. 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 ...
分类:其他好文   时间:2016-07-06 17:59:20    阅读次数:157
HDOJ/HDU 1241 Oil Deposits(经典DFS)
Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a...
分类:其他好文   时间:2016-07-06 15:07:36    阅读次数:132
1806条   上一页 1 ... 73 74 75 76 77 ... 181 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!