将罗马数字转换为整数

Given a roman numeral, convert it to an integer.

Input is guaranteed to be within the range from 1 to 3999.

posted @ 2015-12-03 22:00  code_yang  阅读(149)  评论(0编辑  收藏  举报