文件名称:euclids__game
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:855.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
欧几里德的两个后代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/Debug/euclids__game.exe
euclids__game/Debug/euclids__game.ilk
euclids__game/Debug/euclids__game.pch
euclids__game/Debug/euclids__game.pdb
euclids__game/Debug/vc60.idb
euclids__game/Debug/vc60.pdb
euclids__game/euclidsgame.cpp
euclids__game/euclids__game.dsp
euclids__game/euclids__game.dsw
euclids__game/euclids__game.ncb
euclids__game/euclids__game.opt
euclids__game/euclids__game.plg
euclids__game/Debug
euclids__game
euclids__game/Debug/euclids__game.exe
euclids__game/Debug/euclids__game.ilk
euclids__game/Debug/euclids__game.pch
euclids__game/Debug/euclids__game.pdb
euclids__game/Debug/vc60.idb
euclids__game/Debug/vc60.pdb
euclids__game/euclidsgame.cpp
euclids__game/euclids__game.dsp
euclids__game/euclids__game.dsw
euclids__game/euclids__game.ncb
euclids__game/euclids__game.opt
euclids__game/euclids__game.plg
euclids__game/Debug
euclids__game
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.