发布于 2021-01-31 03:00:04
发布于 2021-01-31 02:10:23
发布于 2021-01-31 03:24:06
wM?Im_ḋ162¨Ḃ=F这是一个简单的挑战,但很有趣:)
wM?Im_ḋ162¨Ḃ=F
¨Ḃ=F Taking the compressed string "Buffalo" (uppercase B)
M For each digit in
ḋ162 the binary digits of 162 ([1,0,1,0,0,0,1,0]):
? if the digit is 1
I return the string itself
if the digit is 0
m_ convert each character to lowercase
w Join all strings with spaceshttps://codegolf.stackexchange.com/questions/218284
复制相似问题