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-09-25 15:11:49
阅读次数:
209
题目描述: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,...
分类:
编程语言 时间:
2014-09-25 13:26:28
阅读次数:
281
Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.搜了一下,才知道这道题可以写这么简洁。 1 class ...
分类:
其他好文 时间:
2014-09-22 23:17:03
阅读次数:
195
题目: https://oj.leetcode.com/problems/integer-to-roman/Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from ...
分类:
编程语言 时间:
2014-09-17 06:46:11
阅读次数:
285
题目:https://oj.leetcode.com/problems/roman-to-integer/Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1...
分类:
编程语言 时间:
2014-09-17 06:45:51
阅读次数:
269
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.普及一下罗马计数法The baseI- 1V- 5X- 10L- 50C- 100D- ...
分类:
其他好文 时间:
2014-09-15 22:44:19
阅读次数:
232
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,...
分类:
其他好文 时间:
2014-09-15 15:46:19
阅读次数:
183
题目的意思在于,更高效的Collect Gold;然后合理的安排生产出来的士兵;我对战的是简单的电脑// This code runs once per frame. Build units and command peasants!// Destroy the ogre base within 1...
分类:
其他好文 时间:
2014-09-14 11:15:06
阅读次数:
357
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...
分类:
其他好文 时间:
2014-09-12 14:45:53
阅读次数:
213
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 罗马数字有如下符号:罗马字符: I V X L C D M对应数字...
分类:
其他好文 时间:
2014-09-11 22:07:42
阅读次数:
271