Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Thursday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Cannibals & Missionaries>>>solve it!!
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="x-pert" data-source="post: 841456" data-attributes="member: 837"><p>Trip 1 - 2 cannibals.</p><p>Trip 2 - 1 cannibal comes back.</p><p>Trip 3 - 2 cannibals (leaving 3 missionaries on this bank).</p><p>Trip 4 - 1 cannibal comes back.</p><p>Trip 5 - 2 missionaries - leaves one of each on this side and 2 of each on the other side.</p><p>Trip 6 - 1 cannibal and 1 missionary come back (there are now 2 of each on this side and 1 of each across).</p><p>Trip 7 - the last 2 missionaries cross, leaving 2 cannibals on this side and three missionaries and one cannibal across.</p><p>The missionaries can now walk along while the cannibal goes back to get his mates.</p><p></p><p></p><p>Thanks for sharing this Bro Nash' </p><p></p><p><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p></p><p>This is actually a great computer programming logic (AI) example which I did for my Degree... <img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="x-pert, post: 841456, member: 837"] Trip 1 - 2 cannibals. Trip 2 - 1 cannibal comes back. Trip 3 - 2 cannibals (leaving 3 missionaries on this bank). Trip 4 - 1 cannibal comes back. Trip 5 - 2 missionaries - leaves one of each on this side and 2 of each on the other side. Trip 6 - 1 cannibal and 1 missionary come back (there are now 2 of each on this side and 1 of each across). Trip 7 - the last 2 missionaries cross, leaving 2 cannibals on this side and three missionaries and one cannibal across. The missionaries can now walk along while the cannibal goes back to get his mates. Thanks for sharing this Bro Nash' :D This is actually a great computer programming logic (AI) example which I did for my Degree... :) [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom