"
-x|"•L®y[Â-Γ•5вèJ.º.∊
Wypróbuj online.
25 24 bajtów alternatywnych:
… -|•B°”Ñ•3вèJ3ä'x«».º.∊
Wypróbuj online.
Wyjaśnienie:
"\n -x|" # Push string "\n -x|"
•L®y[Â-Γ• # Push compressed number 5960566858660563
5в # Converted to Base-5 as list:
# [2,2,2,2,2,2,3,0,4,1,1,4,1,1,3,0,4,1,1,4,2,2,3]
è # Index each digit into the string
J # And join the list together
# "\n -x|" and [2,2,2,2,2,2,3,0,4,1,1,4,1,1,3,0,4,1,1,4,2,2,3]
# → "------x\n| | x\n| |--x"
.º # Intersect mirror everything horizontally
.∊ # Intersect mirror everything vertically (and output implicitly)
… -| # Push string " -|"
•B°”Ñ• # Push compressed integer 193812448
3в # Converted to Base-3 as list: [1,1,1,1,1,1,2,0,0,2,0,0,2,0,0,2,1,1]
è # Index each digit into the string
J # And join the list together
# " -|" and [1,1,1,1,1,1,2,0,0,2,0,0,2,0,0,2,1,1]
# → "------| | | |--"
3ä # Split the string into three parts: ["------","| | ","| |--"]
'x« '# Append an "x" to each: ["------x","| | x","| |--x"]
» # Join by newlines: "------x\n| | x\n| |--x"
.º # Intersect mirror everything horizontally
.∊ # Intersect mirror everything vertically (and output implicitly)
Zobacz moją wskazówkę 05AB1E (rozdział Jak kompresować duże liczby całkowite? ), Aby zrozumieć, dlaczego •L®y[Â-Γ•jest 5960566858660563i •B°”Ñ•jest 193812448.
Dzięki generatorowi ASCII-art @MagicOctopusUrn dla, •L®y[Â-Γ•5BžLR"\n -x|"‡a •B°”Ñ•3BžLR" -|"‡następnie transliteracji został jeszcze zmieniony w golfa poprzez zamianę liczby i łańcucha na stosie, użyj вzamiast Bi indeksuj do łańcucha za pomocą è.