Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Roman-numerals-Encode/J/roman-numerals-encode-1.j
Normal file
7
Task/Roman-numerals-Encode/J/roman-numerals-encode-1.j
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
R1000=. ;L:1 ,{ <@(<;._1);._2]0 :0
|
||||
C CC CCC CD D DC DCC DCCC CM
|
||||
X XX XXX XL L LX LXX LXXX XC
|
||||
I II III IV V VI VII VIII IX
|
||||
)
|
||||
|
||||
rfd=: ('M' $~ <.@%&1000) , R1000 {::~ 1000&|
|
||||
6
Task/Roman-numerals-Encode/J/roman-numerals-encode-2.j
Normal file
6
Task/Roman-numerals-Encode/J/roman-numerals-encode-2.j
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
rfd 1234
|
||||
MCCXXXIV
|
||||
rfd 567
|
||||
DLXVII
|
||||
rfd 89
|
||||
LXXXIX
|
||||
Loading…
Add table
Add a link
Reference in a new issue