This tag indicates that the challenge involves Roman numerals

learn more… | top users | synonyms

10
votes
7answers
420 views

Convert to Roman Numeral!

Your task is to convert a given positive integer from Arabic numeral to Roman numeral. Things get difficult when you count to 4000. The romans did this by adding a line above a symbol to multiply ...
7
votes
2answers
174 views

Roman-style date formatting

Today (March 15) is the Ides of March, best known for being the date that Julius Caesar was assassinated. What's “Ides”? Well, the ancient Romans didn't simply number the days of month from 1 to 31 ...
13
votes
2answers
413 views

Fibonacci's numbers … not those!

Leonardo da Pisano a.k.a Fibonacci was instrumental in bringing the Hindu-Arabic numeral system into Europe. Before that, mathematicians there worked in base sixty with Roman numerals. For example, ...
16
votes
1answer
537 views

Convert ciphered Roman numerals to Arabic decimals

Write an algorithm to interpret a sequence of letters as a Roman numeral. (see roman numeral rules below) Each distinct letter has a matching Arabic decimal value, no maximum. But you don't have ...
1
vote
0answers
124 views

The Venerable Bede, 21st Century Style [duplicate]

1300 years ago, the English theologian Bede earned the honorific by which he is now known ("The Venerable Bede") by, among other things, convincingly computing the date of Easter for a number of years....
11
votes
5answers
379 views

Ambiguous Roman Numeral Magic Squares

The king of Ancient Rome is having difficulties determining if a magic square is valid or not, because the magic square he is checking does not include any separators between the numbers. He has hired ...
35
votes
7answers
3k views

Numbers as Circular Graphics

First, study this puzzle to get a feel for what you will be producing. Your challenge is to write a program or function which will output a circular graphic like the ones from the puzzle, given a (...
20
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
1k 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 ...
11
votes
8answers
805 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 ...
26
votes
16answers
7k 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 ...
4
votes
9answers
868 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 ...
7
votes
11answers
826 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 use,...
19
votes
4answers
2k 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 ...
11
votes
2answers
1k views

Roman numeral converter function

Create the shortest function to convert a string of Roman numerals to an integer. The rules for each letter can be found at the Wikipedia page. Letters above 1,000 will have parentheses placed ...