摘要:
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 1 public static int RomantoInteger2(string s) 2 { 3 Dictionary<char, int> map = new Dictionary<char, int>(); 4 map.Add('I', 1); 5 map.Add('V'... 阅读全文