Skip to main content
edited body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,1314,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list with a base 255 compressed base 10 number.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в•áRвºñ*$vn+•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list with a base 255 compressed base 10 number.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,14,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list with a base 255 compressed base 10 number.

Or 15 bytes runnable online

•áRвºñ*$vn+•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

edited body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list with a base 255 compressed base 10 number.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list with a base 255 compressed base 10 number.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

edited body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

05AB1E, 14 bytes

19Lœ•δn2мׄÁ•è

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Try it online!

05AB1E, 14 bytes

Both solutions generate the list [3,17,18,19,7,1,11,16,2,5,6,9,12,4,8,13,10,13,15]

19Lœ•δn2мׄÁ•è

Generates a list of all (sorted) permutations of the range [1...19] and indexes into that list.

Or 15 bytes runnable online

•áRвºñ*$vIA•20в

Decompresses a base 255 string to a base 10 number and converts to a list of base 20 digits.

Try it online!

edited body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading