文件名称:wine_dividing.rar
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:1.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
分酒问题:已知有3个容量分别为3kg,5kg和8kg且没有刻度的酒瓶,3kg和5kg的酒瓶均装满了酒,而8kg的瓶子为空.现要求仅用这3个瓶子将这些酒分为两个4kg,并分别装入5kg和8kg的瓶子中.
提示:回溯,递归算法.最初始的状态为(350),最终的状态为(044),要求求解所有的解法.,Hours of liquor question: known to have three capacity, respectively 3kg, 5kg and 8kg without calibration bottles, 3kg and 5kg bottles are filled with wine and 8kg bottle is empty. Are now required only that three bottle of wine will be divided into two 4kg, respectively 5kg and 8kg load of the bottle. Tip: backtracking, recursive algorithm. s initial state is (350), and the final state for the (044), the requirements for solving all the Solution.
提示:回溯,递归算法.最初始的状态为(350),最终的状态为(044),要求求解所有的解法.,Hours of liquor question: known to have three capacity, respectively 3kg, 5kg and 8kg without calibration bottles, 3kg and 5kg bottles are filled with wine and 8kg bottle is empty. Are now required only that three bottle of wine will be divided into two 4kg, respectively 5kg and 8kg load of the bottle. Tip: backtracking, recursive algorithm. s initial state is (350), and the final state for the (044), the requirements for solving all the Solution.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wine_dividing.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.