文件名称:田忌赛马问题
介绍说明--下载内容来自于网络,使用问题请自行百度
田忌与齐王赛马,双方各有n匹马参赛(n<=100),每场比赛赌注为1两黄金,现已知齐王与田忌的每匹马的速度,并且齐王肯定是按马的速度从快到慢出场,现要你写一个程序帮助田忌计算他最好的结果是赢多少两黄金(输用负数表示)。(Tian and the king's horse racing, the two sides each have n horse (n < = 100), each match bet 1 two gold, are now known to the king of qi and tian every horse of the speed, and the king must be according to the speed of the horses of him slow play, now want you to write a program to help tian calculated how much his best result is to win two gold negative in (lost).)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
田忌赛马问题\代码.txt | 1499 | 2017-12-30 |
田忌赛马问题\题目及样例.docx | 11756 | 2017-12-30 |
田忌赛马问题 | 0 | 2017-12-30 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.