Convert an integer into its Roman numeral representation.
Difficulty: Hard
Phase: 6 · Mixed Logical Challenges
XP Reward: 30 XP
Topics: Mixed Logical Challenges, Hard
Supported Languages: Python, JavaScript, C, C++, Java
Problem Description
Given integer N (1 <= N <= 3999), convert it into its standard Roman numeral string. Input Format: Read input from standard input (stdin). Output Format: Print the result to standard output (stdout).
Constraints
- -10^9 <= N <= 10^9
Examples
Example 1
Input: 1994
Output: MCMXCIV
Explanation: Sample execution for input 1994