•3[ÜAʒg‰ŽÎ<\¦•6¡εS"-.@(=_"sèJ∞}'\∞5LRׂ˜.C
在线尝试!
1026344463000063063446446355555现在是没有其他人使用的冰淇淋编号b / c。
Full program: •3[ÜAʒg‰ŽÎ<\¦•6¡εS"-.@(=_"sèJ∞}'\∞5LRׂ˜.C
current >> • || stack: []
current >> 6 || stack: [1026344463000063444446355555]
current >> ¡ || stack: [1026344463000063444446355555, '6']
current >> ε || stack: [['102', '3444', '30000', '344444', '355555']]
For each: S"-.@(=_"sèJ∞
Full program: S"-.@(=_"sèJ∞
current >> S || stack: ['102']
current >> " || stack: [['1', '0', '2']]
current >> s || stack: [['1', '0', '2'], '-.@(=_']
current >> è || stack: ['-.@(=_', ['1', '0', '2']]
current >> J || stack: [['.', '-', '@']]
current >> ∞ || stack: ['.-@']
stack > ['.-@@-.']
Full program: S"-.@(=_"sèJ∞
current >> S || stack: ['3444']
current >> " || stack: [['3', '4', '4', '4']]
current >> s || stack: [['3', '4', '4', '4'], '-.@(=_']
current >> è || stack: ['-.@(=_', ['3', '4', '4', '4']]
current >> J || stack: [['(', '=', '=', '=']]
current >> ∞ || stack: ['(===']
stack > ['(======)']
Full program: S"-.@(=_"sèJ∞
current >> S || stack: ['30000']
current >> " || stack: [['3', '0', '0', '0', '0']]
current >> s || stack: [['3', '0', '0', '0', '0'], '-.@(=_']
current >> è || stack: ['-.@(=_', ['3', '0', '0', '0', '0']]
current >> J || stack: [['(', '-', '-', '-', '-']]
current >> ∞ || stack: ['(----']
stack > ['(--------)']
Full program: S"-.@(=_"sèJ∞
current >> S || stack: ['344444']
current >> " || stack: [['3', '4', '4', '4', '4', '4']]
current >> s || stack: [['3', '4', '4', '4', '4', '4'], '-.@(=_']
current >> è || stack: ['-.@(=_', ['3', '4', '4', '4', '4', '4']]
current >> J || stack: [['(', '=', '=', '=', '=', '=']]
current >> ∞ || stack: ['(=====']
stack > ['(==========)']
Full program: S"-.@(=_"sèJ∞
current >> S || stack: ['355555']
current >> " || stack: [['3', '5', '5', '5', '5', '5']]
current >> s || stack: [['3', '5', '5', '5', '5', '5'], '-.@(=_']
current >> è || stack: ['-.@(=_', ['3', '5', '5', '5', '5', '5']]
current >> J || stack: [['(', '_', '_', '_', '_', '_']]
current >> ∞ || stack: ['(_____']
stack > ['(__________)']
current >> ' || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)']]
current >> ∞ || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], '\\']
current >> 5 || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], '\\/']
current >> L || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], '\\/', '5']
current >> R || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], '\\/', [1, 2, 3, 4, 5]]
current >> × || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], '\\/', [5, 4, 3, 2, 1]]
current >> ‚ || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], ['\\/\\/\\/\\/\\/', '\\/\\/\\/\\/', '\\/\\/\\/', '\\/\\/', '\\/']]
current >> ˜ || stack: [[['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)'], ['\\/\\/\\/\\/\\/', '\\/\\/\\/\\/', '\\/\\/\\/', '\\/\\/', '\\/']]]
current >> . || stack: [['.-@@-.', '(======)', '(--------)', '(==========)', '(__________)', '\\/\\/\\/\\/\\/', '\\/\\/\\/\\/', '\\/\\/\\/', '\\/\\/', '\\/']]
.-@@-.
(======)
(--------)
(==========)
(__________)
\/\/\/\/\/
\/\/\/\/
\/\/\/
\/\/
\/
stack > [' .-@@-.\n (======)\n (--------)\n(==========)\n(__________)\n \\/\\/\\/\\/\\/\n \\/\\/\\/\\/\n \\/\\/\\/\n \\/\\/\n \\/']
•3[ÜAʒg‰ŽÎ<\¦• | Pushes 1026344463000063444446355555 to the stack.
-----------------------------+-------------------------------------------------
6¡ | Split on 6's.
-----------------------------+-------------------------------------------------
ε } | Loop on each piece to create the top of the icecream...
S | Split into single chars.
"-.@(=_"sè | Substitute in the correct symbol for each number.
J∞ | Join, then mirror.
-----------------------------+-------------------------------------------------
'\∞ | Push \/.
5LR | Push [5,4,3,2,1]
× | Multiply '\/' by each 5,4,3,2 and 1.
‚˜ | Join top to bottom.
.C | Center w/ newlines.