cema: (Default)
cema ([personal profile] cema) wrote2011-07-22 04:00 pm

Задача: змея

Змея глотает свой хвост и начинает есть. Когда она остановится?

Update. В книжке по программированию только что прочитал: "Lisp can be likened to a self-licking lollypop". Хорошее, нужное чтение.

[identity profile] eta-ta.livejournal.com 2011-07-22 08:05 pm (UTC)(link)
примерно на 3/4 длины. а то сьеденное у нутрЕ не поместится

[identity profile] cema.livejournal.com 2011-07-22 08:19 pm (UTC)(link)
А если она при этом очень быстро какает?

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-22 20:20 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-22 21:20 (UTC) - Expand

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-22 21:21 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-22 21:25 (UTC) - Expand

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-22 21:27 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 00:18 (UTC) - Expand

[identity profile] vanja-y.livejournal.com 2011-07-22 08:08 pm (UTC)(link)
Сразу. Дура она что ли себя есть?

[identity profile] cema.livejournal.com 2011-07-22 08:18 pm (UTC)(link)
Мы не знаем. Может, и дура! А может, это ум у неё такой.
Edited 2011-07-22 20:19 (UTC)

[identity profile] dumart.livejournal.com 2011-07-22 08:11 pm (UTC)(link)
Когда больно станет.
А если не станет, то когда до сердца дойдет и умрет.

[identity profile] cema.livejournal.com 2011-07-22 08:18 pm (UTC)(link)
А вот курицы могут без головы некоторое время бегать. Может, и змея может без сердца некоторое время есть?

[identity profile] amigofriend.livejournal.com 2011-07-22 08:19 pm (UTC)(link)
А какать ей разрешается?

[identity profile] cema.livejournal.com 2011-07-22 09:16 pm (UTC)(link)
А она, может, и спрашивать не станет.

[identity profile] lucas-v-leyden.livejournal.com 2011-07-22 08:22 pm (UTC)(link)
Пока не вывернется наизнанку

[identity profile] cema.livejournal.com 2011-07-22 09:18 pm (UTC)(link)
1. А это сможет случиться?
2. Если да, то что вдруг заставит ее остановиться?

(no subject)

[identity profile] amigofriend.livejournal.com - 2011-07-22 21:56 (UTC) - Expand

(no subject)

[identity profile] amigofriend.livejournal.com - 2011-07-22 22:22 (UTC) - Expand

(no subject)

[identity profile] amigofriend.livejournal.com - 2011-07-22 23:51 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 03:20 (UTC) - Expand

[identity profile] rezoner.livejournal.com 2011-07-22 08:44 pm (UTC)(link)
Как только насытится.

[identity profile] cema.livejournal.com 2011-07-22 09:16 pm (UTC)(link)
Ну а как если она ест про запас?
spamsink: (Default)

[personal profile] spamsink 2011-07-22 09:37 pm (UTC)(link)
Когда внутренний радиус тора станет равен нулю.

[identity profile] cema.livejournal.com 2011-07-23 12:20 am (UTC)(link)
А что будет прямо перед этим?

(no subject)

[personal profile] spamsink - 2011-07-23 01:04 (UTC) - Expand

(no subject)

[identity profile] larisaka.livejournal.com - 2011-07-23 02:13 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 03:19 (UTC) - Expand

(no subject)

[identity profile] larisaka.livejournal.com - 2011-07-23 03:53 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 04:08 (UTC) - Expand

(no subject)

[identity profile] larisaka.livejournal.com - 2011-07-23 04:22 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 03:18 (UTC) - Expand

[identity profile] solomon2.livejournal.com 2011-07-22 09:52 pm (UTC)(link)
Пока не подавится.

[identity profile] cema.livejournal.com 2011-07-23 12:20 am (UTC)(link)
А вдруг она продолжит есть, скажем, инстинктивно? Или, как его, рефлексивно?

(no subject)

[identity profile] solomon2.livejournal.com - 2011-07-23 00:31 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 01:03 (UTC) - Expand

[identity profile] amigofriend.livejournal.com 2011-07-22 11:17 pm (UTC)(link)
Змея глотает свой хвост и начинает пить. Когда она нажрётся в сосиску?

[identity profile] cema.livejournal.com 2011-07-23 12:23 am (UTC)(link)
Это дополнительный вопрос, а мы пока отвечаем на основной.

[identity profile] verevkin.livejournal.com 2011-07-22 11:24 pm (UTC)(link)
Никогда. Она же не может съесть свой рот.

[identity profile] cema.livejournal.com 2011-07-23 12:22 am (UTC)(link)
Я когда-то дал похожий ответ (только он был не "никогда", а "когда доберется до своих челюстей"). Но натурных экспериментов пока не проводил.

Вообще это зависит от модели змеи, конечно.

[identity profile] sthinks.livejournal.com 2011-07-22 11:35 pm (UTC)(link)
Присоединяюсь к предыдущему оратору. И авторитеты подтверждают - символ вечности как никак.

[identity profile] cema.livejournal.com 2011-07-23 12:19 am (UTC)(link)
Предыдущих так много, вы к какому?

(no subject)

[identity profile] sthinks.livejournal.com - 2011-07-23 00:48 (UTC) - Expand

[identity profile] cema.livejournal.com 2011-07-23 04:06 am (UTC)(link)
А змея, которая себя поедает, может считаться расслабленной или нет?

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-23 13:05 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 13:10 (UTC) - Expand

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-23 13:10 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 13:12 (UTC) - Expand

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-23 13:13 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 13:37 (UTC) - Expand

(no subject)

[identity profile] eta-ta.livejournal.com - 2011-07-23 13:40 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 16:34 (UTC) - Expand

(no subject)

[identity profile] dgri.livejournal.com - 2011-07-23 19:58 (UTC) - Expand

[identity profile] chaource.livejournal.com 2011-07-23 01:03 pm (UTC)(link)
Consider the following model of the snake: it is a segment of straight line of length 1. (A snake of zero width.) The left end of the segment is the "mouth". To the left of the mouth we now place a mirror, so that the right end of the snake is seen in the mirror. We then move the mirror towards the mouth and beyond, so that the mirrored left end of the snake overlaps with the mouth, simulating the process of the snake devouring itself. The process is finished when the mirror moves to the right end of the snake. At that time, the snake would have wound around itself infinitely many times.

[identity profile] cema.livejournal.com 2011-07-23 01:10 pm (UTC)(link)
Will it ever be finished?

(no subject)

[identity profile] chaource.livejournal.com - 2011-07-23 17:18 (UTC) - Expand

(no subject)

[identity profile] cema.livejournal.com - 2011-07-23 18:10 (UTC) - Expand
hina_chleck: (Default)

[personal profile] hina_chleck 2011-07-23 06:08 pm (UTC)(link)
Это бесконечный процесс - она выворачивается наизнанку, начинается внешнее самопотребление/переваривание, и все заверте...

[identity profile] cema.livejournal.com 2011-07-23 06:10 pm (UTC)(link)
Это такая специальная змея, которая умеет быть снаружи как внутри!

(no subject)

[personal profile] hina_chleck - 2011-07-23 18:13 (UTC) - Expand

[identity profile] selfmade.livejournal.com 2011-07-25 04:37 am (UTC)(link)
Когда рак на горе свиснет.

[identity profile] cema.livejournal.com 2011-07-25 05:12 am (UTC)(link)
Обычно пишут "свистнет", имея в виду, что рак засвистит. Но можно понять и так, что рак залезет на гору и станет с нее свешиваться, свиснет с нее. (Нет, не очень получается. But I tried.)