PLEASE FULLY READ THE RULES! Sorry for all caps, I had to get your attention. Welcome to the twelfth codegolf challenge! In this challenge, you will have to write a block that converts a number n to the shortest possible string in Roman numerals. Try to minimize your block count! Limits: n will be a positive integer. 0<n<1001 I=1 V=5 X=10 L=50 C=100 D=500 M=1000 To subtract, put a number before the following one. You may NOT use a list that contains values when the project is started. You may NOT use multiple costumes. Test cases: 1=>"I" 3=>"III" 4=>"IV" 24=>"XXIV" 501=>"DI" 999=>"CMXCIX" 1000=>"M"
Is this cheating..? Update: this is cheating