文件名称:minrobot_huisu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:930.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
问题描述:设某一机器由n个部件组成,每一种部件都可以从m个不同的供应商处购得。设wij是从供应商j处购得的部件i的重量,cij是相应的价格。试设计一个算法,给出总价格不超过c的最小重量机器设计。
数据输入:由文件1.txt给出输入数据。第一行有3个正整数n,m,d。接下来的2n行,每行n个数。前n行是c,后n行是w.
结果输出:将计算的最小重量及每个部件的供应商输出到文件2.txt.
-Problem Descr iption: Let a machine composed by the n-components, each component can be different from m suppliers purchased. Set wij is purchased from suppliers of parts i j Department of weight, cij is the corresponding price. Trial design an algorithm, given the total price no more than c of the minimum weight design of the machine. Data input: the input data given by the file 1.txt. The first line has three positive integers n, m, d. The next 2n rows, n the number of each line. Before the line is n c, n, after the output line is w. The results: the calculation of the minimum weight and supplier of each component output to a file 2.txt.
数据输入:由文件1.txt给出输入数据。第一行有3个正整数n,m,d。接下来的2n行,每行n个数。前n行是c,后n行是w.
结果输出:将计算的最小重量及每个部件的供应商输出到文件2.txt.
-Problem Descr iption: Let a machine composed by the n-components, each component can be different from m suppliers purchased. Set wij is purchased from suppliers of parts i j Department of weight, cij is the corresponding price. Trial design an algorithm, given the total price no more than c of the minimum weight design of the machine. Data input: the input data given by the file 1.txt. The first line has three positive integers n, m, d. The next 2n rows, n the number of each line. Before the line is n c, n, after the output line is w. The results: the calculation of the minimum weight and supplier of each component output to a file 2.txt.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
minrobot_huisu/1.txt
minrobot_huisu/main.cpp
minrobot_huisu/minrobot_huisu.dsp
minrobot_huisu/minrobot_huisu.dsw
minrobot_huisu/minrobot_huisu.ncb
minrobot_huisu/minrobot_huisu.opt
minrobot_huisu/问题描述.doc
minrobot_huisu/Debug/main.obj
minrobot_huisu/Debug/minrobot_huisu.exe
minrobot_huisu/Debug/minrobot_huisu.ilk
minrobot_huisu/Debug/minrobot_huisu.pch
minrobot_huisu/Debug/minrobot_huisu.pdb
minrobot_huisu/Debug/vc60.idb
minrobot_huisu/Debug/vc60.pdb
minrobot_huisu/2.txt
minrobot_huisu/minrobot_huisu.plg
minrobot_huisu/Debug
minrobot_huisu
minrobot_huisu/main.cpp
minrobot_huisu/minrobot_huisu.dsp
minrobot_huisu/minrobot_huisu.dsw
minrobot_huisu/minrobot_huisu.ncb
minrobot_huisu/minrobot_huisu.opt
minrobot_huisu/问题描述.doc
minrobot_huisu/Debug/main.obj
minrobot_huisu/Debug/minrobot_huisu.exe
minrobot_huisu/Debug/minrobot_huisu.ilk
minrobot_huisu/Debug/minrobot_huisu.pch
minrobot_huisu/Debug/minrobot_huisu.pdb
minrobot_huisu/Debug/vc60.idb
minrobot_huisu/Debug/vc60.pdb
minrobot_huisu/2.txt
minrobot_huisu/minrobot_huisu.plg
minrobot_huisu/Debug
minrobot_huisu
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.