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 (2022). pass by a river (https://www.mathworks.com/matlabcentral/fileexchange/25430-pass-by-a-river), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.