文件名称:horse_match
介绍说明--下载内容均来自于网络,请自行研究使用
你一定听过田忌赛马的故事吧?
如果3匹马变成1000匹,齐王仍然让他的马按从优到劣的顺序出赛,田忌可以按任意顺序选择他的赛马出赛。赢一局,田忌可以得到200两银子,输一局,田忌就要输掉200两银子,平局的话不输不赢。
请问田忌最多能赢多少银子?-You must have heard the story of Tian Ji s horse, right?
If three horses turned into 1000, the king still let his horse by the order of merit to the inferior race, in any order tianji can choose his horse race. Win the game, tianji can get 200 ounces of silver, lose a bureau, Tian Ji would lose 200 ounces of silver, then do not lose a draw not win.
Will tianji up to win much money?
如果3匹马变成1000匹,齐王仍然让他的马按从优到劣的顺序出赛,田忌可以按任意顺序选择他的赛马出赛。赢一局,田忌可以得到200两银子,输一局,田忌就要输掉200两银子,平局的话不输不赢。
请问田忌最多能赢多少银子?-You must have heard the story of Tian Ji s horse, right?
If three horses turned into 1000, the king still let his horse by the order of merit to the inferior race, in any order tianji can choose his horse race. Win the game, tianji can get 200 ounces of silver, lose a bureau, Tian Ji would lose 200 ounces of silver, then do not lose a draw not win.
Will tianji up to win much money?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
horse_match.c