文件名称:BASFY
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:641byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
QBASIC的倒油问题,通过测试。设有大小不等的X,Y,Z三个无刻度的油桶,分别能够盛满油X,Y,Z(例如,X=80,Y=50,Z=30),并约定X>Y>Z。初始时,仅X油桶盛满油,Y和Z油桶为空。要求程序寻找一种最少的分油步聚,在某个油桶中分出T升油(例如T=40)。 -QBASIC was the oil issue, to pass the test. With size ranging from X, Y, Z scale of the three non-oil drums, filled with oil, respectively, to X, Y, Z (for example, X = 80, Y = 50, Z = 30), and agreed X> Y > Z. Initially, only the X tank filled with oil, Y and Z is empty oil drums. Request procedure to find a sub-oil步聚at least, in a tank or oil in the separation of T (for example, T = 40).
相关搜索: qbasic
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.BAS
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.