码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
PAT 1094. The Largest Generation(BFS)
CODE: #include<cstdio> #include<cstring> #include<queue> using namespace std; bool mat[105][105]; bool root[105]; int n,m; int R; int cnt[105]; int an ...
分类:其他好文   时间:2017-07-15 16:47:06    阅读次数:193
HDU 2870 Largest Submatrix (单调栈)
http://acm.hdu.edu.cn/showproblem.php?pid=2870 Largest Submatrix Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Tota ...
分类:其他好文   时间:2017-07-11 21:16:37    阅读次数:147
LeetCode-Maximum Subarray[dp]
Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array ...
分类:其他好文   时间:2017-07-09 17:17:26    阅读次数:119
POJ 2559 Largest Rectangle in a Histogram(单调栈)
【题目链接】:click here~~ 【题目大意】: A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal wid ...
分类:其他好文   时间:2017-07-08 17:44:06    阅读次数:258
leetcode 152. Maximum Product Subarray
leetcode 152. Maximum Product Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest product. Fo ...
分类:其他好文   时间:2017-07-06 16:49:23    阅读次数:91
[leetcode]53Maximum Subarray动态规划经典题目:最大子串问题
/** * Find the contiguous subarray within an array (containing at least one number) * which has the largest sum. For example, given the array [-2,1,-3... ...
分类:其他好文   时间:2017-07-04 20:25:02    阅读次数:152
leetCode 85.Maximal Rectangle (最大矩阵) 解题思路和方法
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. 思路:此题的意思是给一个为0或1的矩阵,求所有为1组成的最大矩阵 ...
分类:其他好文   时间:2017-07-03 13:52:32    阅读次数:105
leetcode 53. Maximum Subarray
leetcode 53. Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, gi ...
分类:其他好文   时间:2017-07-03 12:07:01    阅读次数:136
[LeetCode] 179. Largest Number Java
题目: Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest form ...
分类:编程语言   时间:2017-07-01 11:49:49    阅读次数:175
leetcode_num179_Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed n ...
分类:其他好文   时间:2017-06-30 15:44:10    阅读次数:161
1413条   上一页 1 ... 39 40 41 42 43 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!