Problem 344 -- Roman Digititis

read problem

Tips

A Very easy problem suitable for any beginners.

  1. Familiar yourself with the Roman digit format. Write a function that converts numbers into Roman numeral string.
  2. Read a number. Convert numbers from 1 to that number. Count how many i, v, x, etc are in the string.
  3. Print out the final counting according the the specified format.