文件名称:GridNumber

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2013-11-23
  • 文件大小:
  • 1.19mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Mui***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

在一个有m*n个方格的棋盘中,每个方格中有一个正整数。现要从方格中取数,使任意两个数所在的方格没有公共边,且取出的数的总和最大。利用线性规划,设计一个满足要求的取数算法

输入:由文件名为input.txt的文本文件提供,第一行有两个正整数m和n,分别表示棋盘的行数和列数,从第二行开始,每行有n个正整数,表示棋盘方格中的数

输出:输出到文件output.txt,第一行为取数的最大总和-In an m* n chessboard squares, each square has a positive integer. The sum is now taken from the grid number, so that any two squares where the numbers are not public side, and remove the maximum number. Linear programming, design a number of algorithms to meet the requirements to take

Input: Provided by a text file named input.txt file, the first line contains two positive integers m and n, respectively, the number of rows and columns of the board, from the beginning of the second line, each line has a positive integer n, represents the number of checkerboard

Output: Output to file output.txt, the sum of the first acts to take the maximum number of
(系统自动生成,下载前可以参看下载内容)

下载文件列表





GridNumber

..........\Debug

..........\.....\GridNumber.exe

..........\.....\GridNumber.ilk

..........\.....\GridNumber.pch

..........\.....\GridNumber.pdb

..........\.....\LinearProgram.obj

..........\.....\main.obj

..........\.....\vc60.idb

..........\.....\vc60.pdb

..........\GridNumber.dsp

..........\GridNumber.dsw

..........\GridNumber.ncb

..........\GridNumber.opt

..........\GridNumber.plg

..........\input.txt

..........\LinearProgram.cpp

..........\LinearProgram.h

..........\main.cpp

..........\output.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org