文件名称:euclids__game
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 856kb
- 下载次数:
- 0次
- 提 供 者:
- j***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
欧几里德的两个后代Stan和Ollie正在玩一种数字游戏,这个游戏是他们的祖先欧几里德发明的。给定两个正整数M和N,从Stan开始,从其中较大的一个数,减去较小的数的正整数倍,当然,得到的数不能小于0。然后是 Ollie,对刚才得到的数,和M,N中较小的那个数,再进行同样的操作……直到一个人得到了0,他就取得了胜利。-Two players, Stan and Ollie, play, starting with two natural numbers. Stan, the first player, subtracts any positive multiple of the lesser of the two numbers from the greater of the two numbers, provided that the resulting number must be nonnegative. Then Ollie, the second player, does the same with the two resulting numbers, then Stan, etc., alternately, until one player is able to subtract a multiple of the lesser number from the greater to reach 0, and thereby wins.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
euclids__game\Debug\euclidsgame.obj
.............\.....\euclids__game.exe
.............\.....\euclids__game.ilk
.............\.....\euclids__game.pch
.............\.....\euclids__game.pdb
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\euclidsgame.cpp
.............\euclids__game.dsp
.............\euclids__game.dsw
.............\euclids__game.ncb
.............\euclids__game.opt
.............\euclids__game.plg
.............\Debug
euclids__game
.............\.....\euclids__game.exe
.............\.....\euclids__game.ilk
.............\.....\euclids__game.pch
.............\.....\euclids__game.pdb
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\euclidsgame.cpp
.............\euclids__game.dsp
.............\euclids__game.dsw
.............\euclids__game.ncb
.............\euclids__game.opt
.............\euclids__game.plg
.............\Debug
euclids__game