LeetCode第12,13题:Integer to Roman and Roman to Integer总结
这两道题明显是一对。。。放一起 题目一 Integer to Roman Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 大意: 就是把一个1~3999的阿拉伯数字,变成罗马数字表示。 题目二 Roman to Integer Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 大意: 就是把一个1~3999的罗马数字,表示成阿拉伯数字。 […]