Испечь мне кусочек торта


23

Мой день рождения через месяц, и это кусочек вкусного торта.

    .-""-.
 .-"      "-.
|""--..      "-.
|      ""--..   "-.
|""--..      ""--..\
|      ""--..      |
|            ""--..|
 ""--..            |
       ""--..      |
             ""--..|

В наименьшем количестве байтов создайте для меня этот кусок торта. Вы можете распечатать его в STDOUT или вернуть как результат функции.

Любое количество посторонних пробелов является приемлемым, при условии, что символы выстраиваются соответствующим образом.

Правила и ввод / вывод


3
Как испечь только кусочек торта? Это будет всего лишь торт в этот момент, нет? Cake[:]не нужно применять.
Веска

@ Веска Интернет впереди тебя! (не всегда) ... dhgate.com/product/creative-diy-8-cavity-silicone-mold-pastry/… .
rumtscho

Но ... это ложь, не так ли?
говорит Вал, восстановите Монику

Ответы:


13

Яичная сборка - 203 байта

push '    .-""-.\n .-"      "-.\n|""--..      "-.\n|      ""--..   "-.\n|""--..      ""--..|\n|      ""--..      |\n|            ""--..|\n ""--..            |\n       ""--..      |\n             ""--..|'

Вот менее гольф-версия.

push '    .-""-.\n'
push ' .-"      "-.\n'
add
push '|""--..      "-.\n'
add
push '|      ""--..   "-.\n'
add
push '|""--..      ""--..\\n'
add
push '|      ""--..      |\n'
add
push '|            ""--..|\n'
add
push ' ""--..            |\n'
add
push '       ""--..      |\n'
add
push '             ""--..|\n'
add

Этот работает немного по-другому, но в Chicken он значительно короче - 57 878 ​​байт.

push " "
push 4
rooster
push '.-""-.\n'
add
push ' .-"'
push " "
push 6
rooster
add
push '"-.\n'
add
push '|""--..'
push " "
push 6
rooster
add
push '"-.\n|'
add
push " "
push 6
rooster
add
push '""--..   "-.\n'
add
push '|""--..'
push " "
push 6
rooster
add
push '""--..\\n'
add
push '|'
push " "
push 6
rooster
add
push '""--..      |\n'
add
push '|'
push " "
push 12
rooster
add
push '""--..|\n'
add
push ' ""--..'
push " "
push 12
rooster
add
push '|\n'
add
push " "
push 7
rooster
add
push '""--..'
push " "
push 6
rooster
add
push '|\n'
add
push " "
push 13
rooster
add
push '""--..|\n'
add
add
add
add
add
add
add
add

Курица - 57 878 28 135 байт

chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken

chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken chicken chicken chicken chicken chicken chicken chicken
chicken chicken
chicken chicken
chicken chicken

То, что здесь изменилось, немного более понятно, вот версия Eggsembly.

push " "
push 4
rooster
push 4
peck
pick 4
axe
push '.-""-.\n'
add
push ' .-"'
pick 4
axe
push " "
push 2
rooster
add
push 6
peck
pick 6
axe
add
push '"-.\n'
add
push '|'
push '""--..'
push 2
peck
pick 2
axe
add
add
pick 6
axe
add
push '"-.\n'
add
push '|'
add
pick 6
axe
add
pick 2
axe
add
push " "
push 3
rooster
add
push '"-.\n'
add
push '|'
add
pick 2
axe
add
pick 6
axe
add
pick 2
axe
add
push '\\n'
add
push '|'
add
pick 6
axe
add
pick 2
axe
add
pick 6
axe
add
push '|\n'
add
push '|'
add
pick 6
axe
pick 6
axe
add
push 3
peck
pick 3
axe
add
pick 2
axe
add
push '|\n'
add
push " "
add
pick 2
axe
add
pick 3
axe
add
push '|\n'
add
pick 6
axe
push " "
add
add
pick 2
axe
add
pick 6
axe
add
push '|\n'
add
pick 3
axe
add
push " "
add
pick 2
axe
add
push '|\n'
add
add

2
Смотрите также это видео .
Nissa


6

Холст , 77 65 58 54 44 43 42 40 39 байт

"-.*\\\
2⁸±4⁸+3⁸21*⌐∔13╋5|*×ω\;∔A«3╋03╋

Попробуй это здесь!

Объяснение:

"-.*\\\  Helper function F taking an argument n
"-.*     an array of n strings `"-.`
    \\\  pad each line with 1 more space than the previous, 3 times
Main program:
2⁸                          execute F with 2
  ±                         reverse that
   4⁸+                      and append F(4) - the top of the cake

3⁸                          F(3)
  21*                       extend horizontally 2x and vertically 1x - create one stripe
     ⌐                      create extra 2 copies of that on the stack
      ∔                     append 2 of those together
       13╋                  and insert it at (1; 3) in the last line
          5|*               array of 5 "|"
             ×              prepend that to the left of the stripes
              ω             retrieve back the array of "|"
               \;∔         prepend "\" to that
                   A«3╋     and insert that at ((10<<1); 3) in the object
                       03╋  and join the two parts together

5

Древесный уголь , 40 байт

F³«↑Fι⸿↑F³¶""--..»↑⁵←\F⁴←¶.-"F²«←"-.↓»↓⁵

Попробуйте онлайн! Ссылка на подробную версию кода. Объяснение:

F³«

Обведите три горизонтальные линии.

↑Fι⸿↑

Линии перекрываются на количество в зависимости от того, на какой линии мы находимся. Это вычисляет правильное количество перекрытий, но также снова перемещает курсор влево от холста.

F³¶""--..»

Повторите три раза, переместите курсор вниз на одну строку и затем напечатайте треть горизонтальной линии.

↑⁵←\

Напечатайте вертикальную линию справа и обратную косую черту в углу.

F⁴←¶.-"

Повторите четыре раза, переместите курсор вверх на одну строку и затем напечатайте четверть диагонали.

F²«←"-.↓»

Напечатайте другую диагональ. (Я не мог найти способ объединить печать с движением, но это все еще на 2 байта короче, чем следующий лучший способ, который я мог найти.)

↓⁵

Напечатайте вертикальную линию слева.


4

T-SQL, 125 121 байт

PRINT REPLACE(REPLACE('    .-""-.
 .-"1"-.
|21"-.
|12   "-.
|212\ 
|121|
|112|
 211|
 121|
 112|',2,'""--..'),1,'      ')

Из-за перегрузки REPLACE()ключевого слова только две замены дали мне лучший результат. SQL допускает разрывы строк внутри строк, поэтому мне не нужно заменять их на что- CHAR(13)либо еще.

Трудно сказать в приведенном выше коде, но мне пришлось добавить дополнительный пробел после \, потому что обычно это был escape-символ, который заставлял бы его игнорировать последующий разрыв строки.

РЕДАКТИРОВАТЬ : Сохранено 4 байта, заменяя мои заменяющие символы на цифры вместо букв. Это позволяет мне исключить одинарные кавычки, так как REPLACEнеявно приводит их к строкам.

Это создает:

    .-""-.
 .-"      "-.
|""--..      "-.
|      ""--..   "-.
|""--..      ""--..\ 
|      ""--..      |
|            ""--..|
 ""--..            |
       ""--..      |
             ""--..|

С днем ​​рождения (в следующем месяце)!


3

Python 2, 99 байт

00000000: 2363 6f64 696e 673a 4c31 0a70 7269 6e74  #coding:L1.print
00000010: 2278 da53 5050 50d0 d355 52d2 d5e3 02d1  "x.SPPP..UR.....
00000020: 5c6e 605c 30e2 d55c 30c5 74f5 f490 04a0  \n`\0..\0.t.....
00000030: 4c98 30a6 5c22 303b 0643 2110 d4c0 0491  L.0.\"0;.C!.....
00000040: a56a b850 d4c0 542a 60d3 ae80 453b 5c30  .j.P..T*`...E;\0
00000050: a94e 1d27 222e 6465 636f 6465 2827 7a69  .N.'".decode('zi
00000060: 7027 29                                  p')

Попробуйте онлайн!


2

R 47 + 61 = 108 байт

Еще раз украденный из хорошего ответа @ DigEmAll ранее, просто сожмите в gzip и распакуйте в ответе из 2 частей.

cat(memDecompress(readBin('a','raw',61),'g',T))

Попробуйте онлайн!


2

05AB1E , 58 байт

”. -"|\
”S”""--..”ð6×)˜•I8Γ·³§€ΓÎíÈÜ7γ¿·U₃´îØ©G¹râî.
d•SèJ

Попробуйте онлайн!


Увидев другие ответы, я понял, что более алгоритмическое построение будет короче. :) Жаль, что •2ā_/¦Y ¸|pζÚˆ#ñÕηbp^Ωÿ_veCuŽJ•9втакое же количество байтов, как •I8Γ·³§€ΓÎíÈÜ7γ¿·U₃´îØ©G¹râî.\nd•S.
Кевин Круйссен

@KevinCruijssen: Я хотел попробовать использовать холст, но я чувствую, что из-за многострочных «элементов» он, вероятно, будет длиннее.
Эминья

Хм, по моему опыту холст обычно длиннее для таких сложных струн. Мне все еще было бы интересно увидеть ответ, используя холст для сравнения, но я серьезно сомневаюсь, что он будет близок к вашему текущему количеству байтов.
Кевин Круйссен,

2

Веточка, 126 байт

Это просто поиск / замена. Ничего фантастического

{{'012
 10  2430  240  3   2430  3\\40  30  |40003|
 3000|
0   30  |
000 3|'|replace(['    ','.-"','"-.','""--..','
|'])|raw}}

Попробуйте это на https://twigfiddle.com/8zxyxa

В разделе «Результат» нажмите «Показать исходный результат», иначе вы увидите следующее:

        .-""-.
    .-"      "-.
|""--..      "-.
|      ""--..   "-.
|""--..      ""--..\
|      ""--..      |
|            ""--..|
    ""--..            |
            ""--..      |
                ""--..|

Который выглядит ближе к плавлению сыра, чем кусочек торта ...


К сожалению, ваш торт должен быть |raw, или вы получите это:

        .-&quot;&quot;-.
    .-&quot;      &quot;-.
|&quot;&quot;--..      &quot;-.
|      &quot;&quot;--..   &quot;-.
|&quot;&quot;--..      &quot;&quot;--..\
|      &quot;&quot;--..      |
|            &quot;&quot;--..|
    &quot;&quot;--..            |
            &quot;&quot;--..      |
                &quot;&quot;--..|

Который выглядит как .... я не знаю: x


но ОП специально попросил испеченный ломтик D:
Брайан Х.

: x Извините, должно быть, |rawна работу
Исмаэль Мигель




1

05AB1E , 84 82 81 байт

“
 "-.\|“•6ÅΩæÍ[ÕŽÇ4Δ¼µðв‹ìbÿ¹0mĆÛh6Ë\HvçÏ—ÜâE«εx±5Â\₅δćzÁ₅3¨Éj€¾ï737Æüí·?т¹•7вèJ

-3 байта благодаря @Emigna .

Попробуйте онлайн.

Объяснение:

\n "-.\|“       "#  Push string '\n "-.\|'
6ÅΩæÍ[ÕŽÇ4Δ¼µðв‹ìbÿ¹0mĆÛh6Ë\HvçÏ—ÜâE«εx±5Â\₅δćzÁ₅3¨Éj€¾ï737Æüí·?т¹•
                  # Compressed integer 18017524448214263331172789946872235969387180564028761120954323919616255702509406136041325094115009009004153150633415914465807454405990069100373808902652333314
 7в               # Converted to Base 7 as list:
                  # [1,1,1,1,4,3,2,2,3,4,0,1,4,3,2,1,1,1,1,1,1,2,3,4,0,6,2,2,3,3,4,4,1,1,1,1,1,1,2,3,4,0,6,1,1,1,1,1,1,2,2,3,3,4,4,1,1,1,2,3,4,0,6,2,2,3,3,4,4,1,1,1,1,1,1,2,2,3,3,4,4,5,0,6,1,1,1,1,1,1,2,2,3,3,4,4,1,1,1,1,1,1,6,0,6,1,1,1,1,1,1,1,1,1,1,1,1,2,2,3,3,4,4,6,0,1,2,2,3,3,4,4,1,1,1,1,1,1,1,1,1,1,1,1,6,0,1,1,1,1,1,1,1,2,2,3,3,4,4,1,1,1,1,1,1,6,0,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,3,3,4,4,6]
è                 # Index each item in this list in the string
 J                # Join the indexed characters together (and output implicitly)

Посмотрите эту подсказку 05AB1E (раздел Как сжать большие целые числа? ), Чтобы понять, почему •6ÅΩæÍ[ÕŽÇ4Δ¼µðв‹ìbÿ¹0mĆÛh6Ë\HvçÏ—ÜâE«εx±5Â\₅δćzÁ₅3¨Éj€¾ï737Æüí·?т¹•это так 18017524448214263331172789946872235969387180564028761120954323919616255702509406136041325094115009009004153150633415914465807454405990069100373808902652333314.

Огромное спасибо художественному генератору компрессии ASCII от @MagicOctopusUrn , после которого žLRон был обработан žh, и строка была исправлена ​​с помощью и, «поскольку она содержала" транслитерацию, была введена в игру путем изменения строки и числа в стеке, используя ввместо Bвместо этого составить список символов и индексировать его (спасибо @Emigna ).


1
Вы можете сохранить 2 байта, используя одну строку вместо двух, например . Вы можете сохранить другой байт путем индексации вместо транслитерации.
Эминья,

@ Emigna Ах, оба довольно умные, спасибо! Второе предположение, вероятно, может отразиться и на некоторых моих предыдущих ответах по ASCII-art. Позже взгляну на тех, у меня есть время.
Кевин Круйссен,

1
Я забыл упомянуть в своем предыдущем комментарии, что порядок виндексации строки и числа и использование были необходимы для индексации, чтобы сохранить этот третий байт.
Эминья,



0

C # (.NET Core) , 169 154 152 байта

Console.Write("    .-\"\"-.\n .-\"2\"-.\n|12\"-.\n|21   \"-.\n|121\\\n|212|\n|221|\n 122|\n 212|\n 221|".Replace("1","\"\"--..").Replace("2","      "));

Попробуйте онлайн!

-15 байт: понял, что мог использовать функцию Replace в C # и удалил переменную.
-2 байта: осталось два ненужных пробела в функциях замены.  


Альтернативный способ сделать это, используя анонимную функцию вместо прямой записи в консоль.

C # (.NET Core) , 154 152 байта

()=>{return("    .-\"\"-.\n .-\"2\"-.\n|12\"-.\n|21   \"-.\n|121\\\n|212|\n|221|\n 122|\n 212|\n 221|".Replace("1","\"\"--..").Replace("2","      "));};

Попробуйте онлайн!

-2 байта: осталось два ненужных пробела в функциях замены.

Используя наш сайт, вы подтверждаете, что прочитали и поняли нашу Политику в отношении файлов cookie и Политику конфиденциальности.
Licensed under cc by-sa 3.0 with attribution required.