Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g. the Superbowl, Olympics, movie credits). But who wants to bother with trying to translate them into decimal notation? I sure don't.. thus the problem is to take an input string array with an arbitrary number of Roman numerals, separated by spaces, and return an array of the resulting Arabic versions. Note since there is no standardization regarding some of the more 'modern' rules of Roman numeral notation, there may be multiple ways of representing the same Arabic number, as shown in the example below:
'XXXIX CCXLVI' -> [39 246]
'DLV MCCXXXIV MDCCLXXVI' -> [555 1234 1776]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers125
Suggested Problems
-
Project Euler: Problem 4, Palindromic numbers
1303 Solvers
-
Determine Whether an array is empty
819 Solvers
-
Cell Counting: How Many Draws?
2534 Solvers
-
There are 10 types of people in the world
1409 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2246 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!