文件名称:田忌赛马问题
介绍说明--下载内容均来自于网络,请自行研究使用
田忌与齐王赛马,双方各有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 |