Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Roman-numerals-Encode/PicoLisp/roman-numerals-encode.l
Normal file
10
Task/Roman-numerals-Encode/PicoLisp/roman-numerals-encode.l
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(de roman (N)
|
||||
(pack
|
||||
(make
|
||||
(mapc
|
||||
'((C D)
|
||||
(while (>= N D)
|
||||
(dec 'N D)
|
||||
(link C) ) )
|
||||
'(M CM D CD C XC L XL X IX V IV I)
|
||||
(1000 900 500 400 100 90 50 40 10 9 5 4 1) ) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue