Breaking Chocolate Bars

版本 1.0.0.0 (24.0 KB) 作者: Krishna Lalith
Break the given Chocolate Bar with minimum number of breaks.
894.0 次下载
更新时间 2009/10/28

查看许可证

Assume you have a chocolate bar consisting, as usual, of a number of squares arranged in a rectangular pattern. Your task is to split the bar into small squares (always breaking along the lines between the squares) with a minimum number of breaks. How many will it take?

引用格式

Krishna Lalith (2024). Breaking Chocolate Bars (https://www.mathworks.com/matlabcentral/fileexchange/25668-breaking-chocolate-bars), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Strategy & Logic 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0