摘要: 描述Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.分析从前往后扫描,用一个临时变量记录分段数字。如果当前比前一个大,说明这一段的值应该 阅读全文
posted @ 2018-06-18 22:14 昵称真难想 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 描述Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.分析无代码 看到有用递归的方法(转载) 阅读全文
posted @ 2018-06-18 17:14 昵称真难想 阅读(108) 评论(0) 推荐(0) 编辑