solve a games
three sales and three servants pass by a river with a boat
the boat can take two person or one person every times
the sales must be killed if the number of sales is less than the servants.
how to pass by the river.
Cite As
Binbin Qi (2024). pass by a river (https://www.mathworks.com/matlabcentral/fileexchange/25430-pass-by-a-river), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Strategy & Logic in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |