选区划分(C语言编写)

上传者: sarah_qst | 上传时间: 2019-12-21 21:02:14 | 文件大小: 597KB | 文件类型: rar
在—个遥远的国家,Sark Mevo 所领导的政党最终击败了Reguel Tekris王子领导的联合党派。Mevo希望巩固他在首都地区的席位。首都由14个街区组成,这些街区将分组为多个选区。下图是首都地区的示意图。在图中用数字1到14对这些街区进行了编号。每个街区中的另外两个数字是预计该街区会投票给Mevo的选民数和该街区的选民总数。所有选民都必须投票,且选举胜出方必须得到绝对多数选票。一个选区可以由多个相邻的街区组成,且选区内总选民数应在30,000到100,000之间。如果两个街区不相邻,例如12和13,则它们不能组成一个选区。如果某个街区选民人数不少于50,000,则允许此街区单独作为一个选区。但是由于Mevo本人就居住在街区10内,因此迫于舆论压力,他不能将这个街区单独作为一个选区。 请设计出一个将首都划分为5个选区的方案,以使Mevo得到的席位数最多。如果这样做有困难,可以尝试划分为6个选区。

文件下载

资源详情

[{"title":"( 27 个子文件 597KB ) 选区划分(C语言编写)","children":[{"title":"选区划分 last","children":[{"title":"分选区 last.dsp <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"分选区 last.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"分选区 last.plg <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"分选区 last.cpp <span style='color:#111;'> 18.10KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 60.00KB </span>","children":null,"spread":false},{"title":"分选区 last.ilk <span style='color:#111;'> 300.43KB </span>","children":null,"spread":false},{"title":"分选区 last.pdb <span style='color:#111;'> 601.00KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"分选区 last.pch <span style='color:#111;'> 299.80KB </span>","children":null,"spread":false},{"title":"分选区 last.obj <span style='color:#111;'> 42.88KB </span>","children":null,"spread":false},{"title":"分选区 last.exe <span style='color:#111;'> 248.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"分选区 last.ncb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"分选区","children":[{"title":"分选区.cpp <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"分选区.plg <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"分选区.dsw <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"分选区.exe <span style='color:#111;'> 176.05KB </span>","children":null,"spread":false},{"title":"分选区.pch <span style='color:#111;'> 215.77KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"分选区.obj <span style='color:#111;'> 12.75KB </span>","children":null,"spread":false},{"title":"分选区.ilk <span style='color:#111;'> 208.62KB </span>","children":null,"spread":false},{"title":"分选区.pdb <span style='color:#111;'> 465.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"分选区.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"分选区.ncb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"分选区.dsp <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"选区划分.doc <span style='color:#111;'> 375.50KB </span>","children":null,"spread":false},{"title":"分选区 last.dsw <span style='color:#111;'> 532B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明