Шутки


How to Hunt Elephants -- Comp Sci Style

How to Hunt Elephants -- Comp Sci Style

Computer scientists hunt elephants using algorithm A:

1. Go to Africa 2. Start at the Cape of Good Hope 3. Work northward in an orderly manner, traversing the continent alternately East and West. 4. During each traverse a. Catch each animal seen b. Compare each animal caught to a known elephant c. Stop when a match is detected.

Experienced computer programmers modify Algorithm A by placing a known elephant in Cairo to ensure that the algorithm will terminate.

Sent by Alex

Категория: Miscellaneous (Разное)

Просмотров материала: 2275



Читайте также из категории Miscellaneous (Разное):



ТОП-5 категории Miscellaneous (Разное):