Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Holiday - Brain teasers
Message
De
28/12/1999 08:45:44
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00308199
Message ID:
00309110
Vues:
38
>By my understanding of the question the 4th line will result in the missionary being eaten

>>(c=cannibal, m=missionary)
>>left - on boat - right
>>cccmmm -
>>ccmm - cm
>>ccmm - m - c
>>cmm - cm - c
>----------^^^^^^

>2 Canibals and 1 missionary - Stew!

The cm is a cannibal and a missionary on the boat, and one cannibal on each back of the river.

My girlfriend had a better solution where a cannibal drives the boat back and forth - it naturally seperates the cannibals into singles.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform