Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Holiday - Brain teasers
Message
 
À
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:
00309340
Vues:
34
>>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.

OK, but my understanding of the rules is that the person (/people) in the boat count as being on the side of the river so there's cmc on the right bank.

Cheers,

Andrew


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform