文件名称:Tasks
-
所属分类:
- 标签属性:
- 上传时间:2013-03-26
-
文件大小:798byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
问题描述:n个任务分配给n个人,任务j分配给人i的成本是C[i,j],希望完成所有任务的成本最低,算法如何设计?
★编程任务:给定任务表示如下表,编程计算所需完成任务最低的成本。
★数据输入:输入数据由文件名为input.txt的文本文件提供。文件的第1行为任务总数(人数)n;在接下来的n行中,每行有n个自然数,表示成本。
★结果输出: 程序运行结束时,将计算结果输出到文件output.txt中。
-Problem Descr iption: n tasks assigned to n individual task j allocated gives i cost C [i, j], lowest cost hope to complete all the tasks, how to design algorithms? ★ programming task: given task following table programming calculation required to complete the task at the lowest cost. ★ Data Input: input data from a text file named input.txt file. File of the first acts of the total number of tasks (number) n in the next n lines, each line n natural numbers, said the cost. ★ results output: the end of the program runs, the calculation results output to the file output.txt.
★编程任务:给定任务表示如下表,编程计算所需完成任务最低的成本。
★数据输入:输入数据由文件名为input.txt的文本文件提供。文件的第1行为任务总数(人数)n;在接下来的n行中,每行有n个自然数,表示成本。
★结果输出: 程序运行结束时,将计算结果输出到文件output.txt中。
-Problem Descr iption: n tasks assigned to n individual task j allocated gives i cost C [i, j], lowest cost hope to complete all the tasks, how to design algorithms? ★ programming task: given task following table programming calculation required to complete the task at the lowest cost. ★ Data Input: input data from a text file named input.txt file. File of the first acts of the total number of tasks (number) n in the next n lines, each line n natural numbers, said the cost. ★ results output: the end of the program runs, the calculation results output to the file output.txt.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Tasks.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.