RosettaCodeData/Task/Roman-numerals-Encode/Picat/roman-numerals-encode-2.picat
2023-07-01 13:44:08 -04:00

4 lines
122 B
Text

go2 =>
All = [Len=I=roman_encode(I) : I in 1..4000,E=roman_encode(I), Len=E.len].sort_down,
println(All[1..2]),
nl.