Forgot your password?
typodupeerror

Comment Roman Numerals (Score 1) 77

...is better written as MMMMMMMDCCLXXVII, especially as your version converts to 7778 (as MMMMMMM(CCC)MLXX(II)X). Mine's definitely easier to read and separate into component parts. Are you allowed multiple subtractive prefixes (CCCM)?
Actually, no. The rule is that the arabic number should be divided into numbers that are multiples of the power of ten (e.g. thousands, hundreds, tens, and ones), and then written out like a sentence, from left to right. Only one subtractive prefix per "power of ten" digit is allowed. Anything beyond the first base-10 digit is appended to the number:
3 = III
9 = IX
20 = XX
78 = LXXVIII LXX(70)VIII(8)
499 = CDXCIX CD(400)XC(90)IX(9)
501 = DI D(500)I(1)
653 = DCLIII DC(600)L(50)III(3)
1009 = MIX M(1000)IX(9)
1988 = MCMLXXXVIII M(1000)CM(900)LXXX(80)VIII(8)
7777 = MMMMMMMDCCLXXVII --or-- VIIDCCLXXVII
This last one is tricky because the numbering system for Roman numerals isn't intended to be used for such large numbers. Traditionally, the same glyphs can be eternally cycled to demonstrate the infinite progression and cycling of arabic numbers.
But this is just all my $0.02.

Slashdot Top Deals

When we write programs that "learn", it turns out we do and they don't.

Working...