田忌赛马

所属分类:其他
开发工具:C/C++
文件大小:612KB
下载次数:2
上传日期:2017-08-09 09:36:55
上 传 者小斌momo
说明:  田忌赛马算法 你一定听过田忌赛马的故事吧? 如果3匹马变成1000匹,齐王仍然让他的马按从优到劣的顺序出赛,田忌可以按任意顺序选择他的赛马出赛。赢一局,田忌可以得到200两银子,输一局,田忌就要输掉200两银子,平局的话不输不赢。 请问田忌最多能赢多少银子?
(Tian Ji racing algorithm You must have heard the story of Tian Ji's horse race, haven't you? If 3 horses into 1000 horses, the king still had his horse to a bad match order according to favorably, Tian Ji can be in any order and the choice of his horse race. Win a game, Tian Ji can get 200, two silver, lost a game, Tian Ji will lose 200, two silver, draw a tie, then do not lose, do not win. Can you tell me how much Tian Ji can win?)

文件列表:
田忌赛马\Debug\田忌赛马.exe (79360, 2015-09-18)
田忌赛马\Debug\田忌赛马.ilk (437920, 2015-09-18)
田忌赛马\Debug\田忌赛马.pdb (658432, 2015-09-18)
田忌赛马\田忌赛马\Debug\BuildLog.htm (5842, 2015-09-18)
田忌赛马\田忌赛马\Debug\mt.dep (65, 2015-09-18)
田忌赛马\田忌赛马\Debug\vc90.idb (183296, 2015-09-18)
田忌赛马\田忌赛马\Debug\vc90.pdb (225280, 2015-09-18)
田忌赛马\田忌赛马\Debug\田忌赛马.exe.intermediate.manifest (621, 2015-09-18)
田忌赛马\田忌赛马\Debug\田忌赛马.obj (258134, 2015-09-18)
田忌赛马\田忌赛马\田忌赛马.cpp (813, 2015-09-18)
田忌赛马\田忌赛马\田忌赛马.vcproj (3646, 2015-09-18)
田忌赛马\田忌赛马\田忌赛马.vcproj.SDWM-20131015WS.Administrator.user (1427, 2015-09-18)
田忌赛马\田忌赛马.ncb (1379328, 2015-09-18)
田忌赛马\田忌赛马.sln (902, 2015-09-18)
田忌赛马\田忌赛马.suo (9216, 2015-09-18)
田忌赛马\田忌赛马\Debug (0, 2015-09-18)
田忌赛马\Debug (0, 2015-09-18)
田忌赛马\田忌赛马 (0, 2015-09-18)
田忌赛马 (0, 2015-09-18)

近期下载者

相关文件


收藏者