点击打开杭电1312
Problem Description
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one ...
分类:
其他好文 时间:
2015-08-03 22:54:18
阅读次数:
236
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...
分类:
其他好文 时间:
2015-08-03 21:03:57
阅读次数:
152
白书上的例题做一遍tarjan后,缩点,每一个scc节点的权为它的结点数,做一次DAG上的动规,求出路径上的最大点权和,就可以了 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using name...
分类:
其他好文 时间:
2015-08-03 20:41:16
阅读次数:
144
Largest Rectangle in a Histogram
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 14050 Accepted Submission(s): 4008
Problem Description
A...
分类:
其他好文 时间:
2015-08-03 19:22:44
阅读次数:
136
Maximal Square
Total Accepted: 8699
Total Submissions: 44034
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.
For example,...
分类:
其他好文 时间:
2015-08-03 17:00:01
阅读次数:
115
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 num...
分类:
其他好文 时间:
2015-08-03 00:55:11
阅读次数:
133
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.
For example,
Given [3,2,1,5,6,4] and k = 2, return 5....
分类:
其他好文 时间:
2015-08-02 23:25:40
阅读次数:
111
点击打开hdu1241
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...
分类:
其他好文 时间:
2015-08-02 21:41:14
阅读次数:
157
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular...
分类:
其他好文 时间:
2015-08-02 21:31:52
阅读次数:
109
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular...
分类:
其他好文 时间:
2015-08-02 19:47:46
阅读次数:
102