MATL,5个程序,404 + 159 + 35 + 4 + 1 = 603字节
进入4个程序非常困难。5个程序很难!
'/'37 13+3+3+'3`/'37 13+3+3+77 13+37 13+3+3+'3`/'37 13+3+3+'3tttttttt`/'37 13+3+3+'3#'37 13+3+3+'3ttttt`'37 13+3+3+'3ttttt'37 13+3+3+77 13+'/'37 13+3+3+'3`<<tttttttttt'37 13+3+3+'3#'37 13+3+3+77 13+37 13+3+3+'3///<3////t````ttttt```<</////t`````t<3tttttttttt<3tt/'37 13+3+3+'3ttttttttt'37 13+3+3+'3`{'37 13+3+3+77 13+'y$'37 13+3+3+'3/////t`````ttI#I'77 13+3+'dk'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh3_+''h
在线尝试!
,50],5W50],50qqqqqqqq],50 50qqqqq]50qqqqq5W,50]99qqqqqqqqqq50 5W50,,,90,,,,q]]]]qqqqq]]]99,,,,,q]]]]]q90qqqqqqqqqq90qq,50qqqqqqqqq50]x5Wv!50,,,,,q]]]]]qqF FZah
在线尝试!
这可能是我在PPCG上编写的最喜欢的程序:
22 2 2**2-2-- 22Y2 2EEEEEEEEBPX)2)
在线尝试!
84
c
在线尝试!
T
在线尝试!
说明:
在这个程序上花了几个小时之后,我现在不再写完整的解释了!我待会再写!
简短的摘要:
T -> Literal true = 1
84c -> Convert 84 to its ASCII-character T
22 2 2**... -> Calculate 84 using only 2, * and -
22Y2 -> 22Y2 is a cell array with the name of all the months
2EE..B -> Is 512 in binary [1 0 0 ...]
P -> Flips is, [0 0 ... 1]
X) -> Uses the binary vector as index and gets the 10th element
-> 'October'
2) -> The second character, 'c'
-> Resulting in the stack: 84, 'c' that's implicitly printed
,50]... -> A string with ASCII character codes of '22 2...
-> There's a lot of ,xyz], which means "do twice" and q which is decrement
为了将其转换为字符串而不是字符代码,我们需要使用将该字符串与字符串连接起来h
。要获得一个不使用引号或XY修饰符的字符串,我们进行基本转换并将整数转换为空格。
'/'37 13 ... -> Concatenation of strings and character codes using only available numbers
3_+ -> Subtract 3 from all character codes to get the correct ones
''h -> And concatenate with the empty string.