problem:
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
将罗马数字转为整数
thinking:
(1)罗马数字规则:
罗马数字共有7个,即I(1)、V(5)、X(10)、L(50)、C(100)...
分类:
其他好文 时间:
2015-03-18 18:09:37
阅读次数:
130
JOURNAL - 高级架构 OPENCART 主题模板 ABC-0016-01 ? ? ? THEME FEATURES BLOG MANAGER READY Enjoy powerful blogging right from within your store. This popular module is now compatible with Journal...
分类:
其他好文 时间:
2015-03-17 22:02:32
阅读次数:
319
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...
分类:
其他好文 时间:
2015-03-17 17:30:40
阅读次数:
159
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
Wri...
分类:
编程语言 时间:
2015-03-16 13:00:34
阅读次数:
213
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-03-15 13:42:18
阅读次数:
118
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-03-15 02:00:27
阅读次数:
116
The Settlers of Catan
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Within Settlers of Catan, the 1995 German ...
分类:
其他好文 时间:
2015-03-14 18:42:32
阅读次数:
127
Go support pointers, allowing you to pass references to values and records within your programpackage mainimport ( "fmt")func zeroval(ival int) { ...
分类:
其他好文 时间:
2015-03-14 18:24:46
阅读次数:
144
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,?5,4],
the contiguous subarray [4,?1,2,1]...
分类:
其他好文 时间:
2015-03-14 10:59:57
阅读次数:
122
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 [2,3] has th...
分类:
其他好文 时间:
2015-03-13 23:49:17
阅读次数:
249