
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
06.11.2009, 00:33:12
|
|||
|---|---|---|---|
МакКарти (отец ЛИСПа) и его функция f91() |
|||
|
#18+
Кто в курсе, зачем он придумал эту дурацкую функцию: = McCarthy is a famous theorician of computer science. In his work, he defined a recursive function, called f91, that takes as input a positive integer N and returns a positive integer defined as follows: If N ≤ 100, then f91(N) = f91(f91(N + 11)); If N ≥ 101, then f91(N) = N - 10. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
06.11.2009, 07:58:18
|
|||
|---|---|---|---|
МакКарти (отец ЛИСПа) и его функция f91() |
|||
|
#18+
wiki : The 91 function was chosen for having a complex recursion pattern (contrasted with simple patterns, such as defining f(n) by means of f(n − 1)). вроде все понятно сказано ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=16&mobile=1&tid=1344125]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
186ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
| others: | 179ms |
| total: | 418ms |

| 0 / 0 |
