链接:http://poj.org/problem?id=1753 Flip Game Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 ...
分类:
其他好文 时间:
2016-09-09 20:40:24
阅读次数:
138
POJ 1979 Red and Black (红与黑) Time Limit: 1000MS Memory Limit: 30000K Description 题目描述 There is a rectangular room, covered with square tiles. Each til ...
分类:
其他好文 时间:
2016-09-07 22:56:40
阅读次数:
247
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-09-07 10:35:12
阅读次数:
104
General Motors Co., one of the world's largest automakers, trace its root back to 1908. The General Motors-China relationship dates back more than nin ...
分类:
其他好文 时间:
2016-09-04 17:18:34
阅读次数:
711
10780 Again Prime? No time.The problem statement is very easy. Given a number n you have to determine the largest power of m,not necessarily prime, th ...
分类:
其他好文 时间:
2016-09-04 01:30:39
阅读次数:
166
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2016-09-03 20:58:38
阅读次数:
183
11388 GCD LCMThe GCD of two positive integers is the largest integer that divides both the integers without anyremainder. The LCM of two positive inte ...
分类:
其他好文 时间:
2016-09-03 12:15:15
阅读次数:
112
输入一个数组,求第k大的数 利用快排,因为快排的每一轮递归使一个元素归位,所以判断当前归位的元素是否是第k个,若是,返回 ...
分类:
其他好文 时间:
2016-09-01 14:36:26
阅读次数:
167
Given N axis-aligned rectangles where N > 0, determine if they all together form an exact cover of a rectangular region. Each rectangle is represented ...
分类:
其他好文 时间:
2016-09-01 14:33:47
阅读次数:
219
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2016-09-01 08:12:04
阅读次数:
154