链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=25&problem=2299&mosmsg=Submission+received+with+ID+14404690
题意:一个有向图,找一个最大的点集使得任意两点u、v间都存在一条路(单向或双向)...
分类:
其他好文 时间:
2014-10-23 16:25:21
阅读次数:
205
水题,晒一遍素数并标注就OK了。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define INF 0x7fffffff
#define eps 1e-8
#define LL long long...
分类:
其他好文 时间:
2014-10-23 12:33:57
阅读次数:
136
[Description] Given an array with only '1' and '0', find a largest length sub-array which contains equal number of '1' and '0'. Return the largest num...
分类:
其他好文 时间:
2014-10-22 20:14:33
阅读次数:
209
Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given...
分类:
其他好文 时间:
2014-10-22 19:51:21
阅读次数:
272
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-22 14:29:45
阅读次数:
171
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-21 22:52:27
阅读次数:
278
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的矩阵中找到一个面积最大的矩形,它内部所有的...
分类:
其他好文 时间:
2014-10-21 11:46:41
阅读次数:
129
Tri Tiling
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7887
Accepted: 4134
Description
In how many ways can you tile a 3xn rectangle with 2x1 dominoe...
分类:
其他好文 时间:
2014-10-20 17:27:38
阅读次数:
210
[leetcode]Largest Rectangle in Histogram...
分类:
其他好文 时间:
2014-10-20 11:55:19
阅读次数:
156
HP Arcsight Imperva is a HP Business Partner. HP is the world's largest IT co...
分类:
其他好文 时间:
2014-10-20 09:50:51
阅读次数:
460