摘要: Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.下面是百度得到的关于罗马数的解释:我的代码: 1 class Solution { 2 ... 阅读全文
posted @ 2014-07-15 21:12 Marrybe 阅读(143) 评论(0) 推荐(0) 编辑
摘要: A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta... 阅读全文
posted @ 2014-07-15 19:19 Marrybe 阅读(146) 评论(0) 推荐(0) 编辑