Interger
所难
这个作者很懒,什么都没留下…
展开
-
LeetCode-Roman to Integer
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. Solution: Code: class Solution { public: int getRomanValue(char c) { swi原创 2014-09-21 03:24:23 · 362 阅读 · 0 评论 -
LeetCode-Integer to Roman
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Solution: Code: class Solution { public: string intToRoman(int num) { vect原创 2014-09-21 03:34:11 · 402 阅读 · 0 评论