题目网址: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 i ...
分类:
其他好文 时间:
2017-07-21 12:35:16
阅读次数:
177
You've got a rectangular table with length a and width b and the infinite number of plates of radius r. Two players play the following game: they take ...
分类:
其他好文 时间:
2017-07-20 23:54:17
阅读次数:
207
D - Infinite Maze We've got a rectangular n?×?m-cell maze. Each cell is either passable, or is a wall (impassable). A little boy found the maze and cy ...
分类:
其他好文 时间:
2017-07-20 22:26:40
阅读次数:
182
A - Plate Game You've got a rectangular table with length a and width b and the infinite number of plates of radius r. Two players play the following ...
分类:
其他好文 时间:
2017-07-20 20:59:13
阅读次数:
269
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,4,-1,2, ...
分类:
其他好文 时间:
2017-07-20 10:15:31
阅读次数:
135
题目原文: Add a method find() to the union-find data type so that find(i) returns the largest element in the connected component containing i. The operati ...
分类:
其他好文 时间:
2017-07-19 11:50:10
阅读次数:
212
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,4,-1,2, ...
分类:
编程语言 时间:
2017-07-19 10:41:05
阅读次数:
241
题目: 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 ...
分类:
其他好文 时间:
2017-07-17 10:00:19
阅读次数:
143
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 ...
分类:
其他好文 时间:
2017-07-15 16:53:36
阅读次数:
130
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. 题意:求全由1组成的最大矩形面积。 思路:这题感觉是larges ...
分类:
其他好文 时间:
2017-07-15 16:50:02
阅读次数:
140