摘要:
描述Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.分析从前往后扫描,用一个临时变量记录分段数字。如果当前比前一个大,说明这一段的值应该 阅读全文
摘要:
描述Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.分析无代码 看到有用递归的方法(转载) 阅读全文