文件名称:DivOil
介绍说明--下载内容均来自于网络,请自行研究使用
两个小孩去打油,一人带了一个一斤的空瓶,另一个带了一个七两,一个三两的。原计划各打一斤油,可是由于所带的钱不够,只好两人合打了一斤油,在回家的路上,二人想平分这一斤油,可是又没有其它工具。试仅用三个瓶子(一斤、七两、三两)精确地分出两个半斤油来。
试编写程序进行分析并提出解决方案。
-two kids fight oil, a person with a pound of the bottles and another with a July 2, the one on March 2. The original plan to fight pound oil, but because do not have enough money to bring, but they fought a pound of oil, on the road back. They want to share this small amount of oil, but there is no other tools. Examination only three bottles (a pound, July 2, March 2) the precise separation of two corn oil. Examination preparation procedures for analysis and solution.
试编写程序进行分析并提出解决方案。
-two kids fight oil, a person with a pound of the bottles and another with a July 2, the one on March 2. The original plan to fight pound oil, but because do not have enough money to bring, but they fought a pound of oil, on the road back. They want to share this small amount of oil, but there is no other tools. Examination only three bottles (a pound, July 2, March 2) the precise separation of two corn oil. Examination preparation procedures for analysis and solution.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 69491727divoil.rar 列表 分油问题实验报告1.doc 源码实现\bin\oil\DistrOil.class 源码实现\bin\oil 源码实现\bin 源码实现\src\oil\DistrOil.java 源码实现\src\oil 源码实现\src 源码实现\.classpath 源码实现\.project 源码实现