How Big Is It?
Ian's going to California, and he has to pack his things, including his collection of circles. Given a set of circles, your program must find the smallest rectangular box in...
分类:
其他好文 时间:
2015-01-26 17:05:21
阅读次数:
265
Flip Game
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Flip game is played on a rectangular 4x4 field with two-sided piec...
分类:
其他好文 时间:
2015-01-26 15:10:30
阅读次数:
167
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 number is
9534330.
Note: The result may be very ...
分类:
其他好文 时间:
2015-01-24 14:29:39
阅读次数:
137
Largest Number2015.1.23 20:24Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, ...
分类:
其他好文 时间:
2015-01-23 21:26:27
阅读次数:
154
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,1,...
分类:
其他好文 时间:
2015-01-23 13:00:37
阅读次数:
101
想到的就是排序,把大的放在前面,注意下面的程序,如果数字本身是0,也会加到str中,如果用while(tmp),那么就加不到str中了,这里相当于一个do while,不过个人不喜欢用do while,所以这样写29 while(1)30 {31 ...
分类:
其他好文 时间:
2015-01-22 17:31:55
阅读次数:
157
题目: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...
分类:
编程语言 时间:
2015-01-22 01:43:10
阅读次数:
198
Flip GameTime Limit:1000MSMemory Limit:65536KTotal Submissions:32104Accepted:13988DescriptionFlip game is played on a rectangular 4x4 field with two-s...
分类:
其他好文 时间:
2015-01-21 22:12:05
阅读次数:
284
题目链接:点击打开链接
题目信息:
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 contiguous subarray ...
分类:
其他好文 时间:
2015-01-20 22:13:22
阅读次数:
210
Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.使用dpHeight[]数组来记...
分类:
其他好文 时间:
2015-01-20 21:45:37
阅读次数:
199