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:
This problem is simple. Just need to check wiki to understand how to represent a roman number...
Still get bug-free after almost one month break, hooray :)
The following code passes LeetCode Online Large Judge.

Comments

Popular posts from this blog

Maximum Gap

[ITint5] Maximum Subarray for a Circular Array

[CC150] Chapter 4 Trees and Graphs