13. Roman to Integer

题目: 解答: 就是12题的逆运算 代码: class Solution { public: int romanToInt(string s) { int result = 0, len = s.size(), index = 0; while(index < len && s[index] == 'M'){ result += 10
相关文章
相关标签/搜索