This tag indicates that the challenge involves Roman numerals

learn more… | top users | synonyms

17
votes
14answers
2k views

Code Romanization

The challenge is to make any Roman numerals valid code in your chosen language. They should not appear inside of strings or anything similar, but work just like any other tokens, literals such as ...
17
votes
8answers
951 views

Create a Roman Numeral calculator

Create a basic calculator for Roman numerals. Requirements Supports +,-,*,/ Input and output should expect only one subtractor prefix per symbol (i.e. 3 can't be IIV because there are two I's ...
9
votes
8answers
602 views

Convert arbitrary roman numeral input to integer output [duplicate]

The usual rules: no external resources, or the like. Input will be a positive integer in valid Roman numeral format less than 10 thousand, say. Use all the Roman numeral characters: I = 1 V = 5 ...
16
votes
14answers
4k views

Count from 1 to 100… in Roman Numerals

Write a program that count from 1 to 100 in Roman Numerals and print these numbers by standard output. Each one of the numbers must be separated by spaces. You cannot use any built in function to ...
3
votes
9answers
774 views

Subtracting, the old-fashioned way

Overview Adding slightly to the complexity of working with Roman numerals... The ancient Romans devised a number system using Latin letters, which served them well, and which is still used by modern ...
5
votes
11answers
734 views

Adding, the old-fashioned way

Overview The ancient Romans devised a number system using Latin letters, which served them well, and which is still used by modern civilization, though to a much smaller degree. In the time of its ...
17
votes
4answers
1k views

Optimal short-hand roman numeral generator

Goal: Write a function that takes a number as input and returns a short-hand roman numeral for that number as output. Roman Numeral Symbols: Symbol Value I 1 V 5 X 10 L 50 ...