Skip to main content

Questions tagged [roman-numerals]

This tag indicates that the challenge involves Roman numerals

4 votes
3 answers
1k views

Your goal is to write a program which will take an input and multiply it by 2. However, there are some catches. You will get an input in one of a few forms: A number (...
Ted's user avatar
  • 2,407
8 votes
18 answers
2k views

Output any 500 different valid Roman numerals in the range 1 to 3999, in uppercase. Code golf.
Steve Bennett's user avatar
8 votes
3 answers
497 views

The Roman numeral for 499 is usually given as CDXCIX which breaks down as CD + XC + IX = 400 + 90 + 9 where numerals like ...
doubleunary's user avatar
  • 4,822
11 votes
3 answers
689 views

Inspired by How do you write dates in Latin? Challenge Given a month-and-day date, output that date in abbreviated Latin, as explained below. Input Input is flexible, following conventions from other ...
Stef's user avatar
  • 997
-3 votes
7 answers
1k views

Challenge You are supposed to output the series I recently designed which goes as follows which are pen stroke counts of ascending prime numbers: ...
Aitzaz Imtiaz's user avatar
14 votes
4 answers
555 views

Write the shortest program or function that mimics the addition in this XKCD strip: Input Two positive decimal integers containing only the digits 150. Output The ...
bigyihsuan's user avatar
  • 11.5k
19 votes
9 answers
2k views

In the hovertext of this xkcd: There's an "encoding" based on replacing runs of roman numerals with their sums. To do this: Find all runs of at least 1 roman numeral (...
emanresu A's user avatar
  • 46.8k
19 votes
19 answers
4k views

Or Fix American Kennel Club's database As covered by the recent video by Matt Parker, the American Kennel Club permits thirty-seven (37) dogs of each breed to be assigned the same name (source), ...
pajonk's user avatar
  • 19.6k
12 votes
4 answers
407 views

This task builds on: Find all reflexicons using roman numerals An autogram is a sentence that lists the count of its own letters. Below is one of the first documented autograms found by Lee Sallows in ...
adrianton3's user avatar
13 votes
6 answers
516 views

A reflexicon is a self-descriptive word list that describes its own letter counts. Take for example the one found by Ed Miller in 1985 in English: Sixteen e’s, six f’s, one g, three h’s, nine i’s, ...
adrianton3's user avatar
22 votes
12 answers
2k views

Background Roman numeral is a simple number system with the following properties: Each symbol in the system maps to a specific value. (e.g. ...
Wezl's user avatar
  • 1,506
16 votes
6 answers
1k views

Roman numerals can be (mostly) written in a one column format, because each letter intersects the top and the bottom of the line. For example: I, or 1 intersects ...
tuskiomi's user avatar
  • 3,881
19 votes
15 answers
4k views

Challenge Given some input string, return a truthy value if it represents a correct roman numeral between 1 (=I) and 3999 (=...
flawr's user avatar
  • 44.1k
20 votes
4 answers
2k views

Background This challenge is inspired by this website, which published the following diagram: This diagram shows us that the longest Roman Numeral expression under 250 is that of 188, which requires ...
Rushabh Mehta's user avatar
30 votes
29 answers
5k views

Given a strictly positive integer, return the shortest possible Roman numeral using only the additive rule. Output must consist of zero or more of each of the characters ...
Adám's user avatar
  • 31.9k

15 30 50 per page