问题描述 Given a sequence of non-negative integers a0,…,an?1, find the maximum pairwise product, that is, the largest integer that can be obtained by mult ...
分类:
其他好文 时间:
2016-05-17 22:33:16
阅读次数:
510
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, ...
分类:
其他好文 时间:
2016-05-17 19:12:32
阅读次数:
107
18.12 Given an NxN matrix of positive and negative integers, write code to find the submatrix with the largest possible sum. 这道求和最大的子矩阵,跟LeetCode上的Max ...
分类:
其他好文 时间:
2016-05-13 14:23:24
阅读次数:
211
Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 38749 Accepted: 16834 Description Flip game is played on a rectangular 4x4 field ...
分类:
其他好文 时间:
2016-05-13 12:45:40
阅读次数:
180
问题描述
At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcements are posted: n...
分类:
其他好文 时间:
2016-05-13 02:46:14
阅读次数:
177
Red and Black
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 29614
Accepted: 16095
Description
There is a rectangular room, covered with square tiles. Eac...
分类:
其他好文 时间:
2016-05-12 16:36:23
阅读次数:
169
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 38720
Accepted: 16818
Description
Flip game is played on a rectangular 4x4 field with two-sided p...
分类:
其他好文 时间:
2016-05-12 16:35:23
阅读次数:
132
Corn Fields
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 11850
Accepted: 6202
Description
Farmer John has purchased a lush new rectangular pasture com...
分类:
其他好文 时间:
2016-05-12 15:46:38
阅读次数:
173
题目: 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, given the following ...
分类:
编程语言 时间:
2016-05-11 01:03:38
阅读次数:
254