摘要: 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'... 阅读全文
posted @ 2012-10-13 00:46 ETCOW 阅读(312) 评论(0) 推荐(0) 编辑