Josephus

所属分类:数据结构
开发工具:Visual C++
文件大小:38KB
下载次数:32
上传日期:2009-10-18 19:10:52
上 传 者FRF
说明:  MFC编程实现约瑟夫环(编号为1—n的n个人按顺时针方向围坐一圈,首先从第m个人开始按顺时针方向从1开始依次报数,报到数m的人就出圈,然后再从他的下一个人开始,重新从1开始报数,报到m的人,再令其出列,一直到所有人都出圈为止。求出n个人的出列编号序列。)
(MFC Programming Joseph Central (numbered 1-n n-person sitting clockwise circle, starting with the first m individuals to embark on the clockwise direction starting from a sequence reported the number of people who report the number of m out of the ring, and then the next person start from his re-reported from a starting number, to report m person, and then make it out of the column, until the circle until everyone out. find out the column number of individuals n sequence.))

文件列表:
Josephus\Josephus.opt (49664, 2009-10-17)
Josephus\Josephus.rc (5815, 2009-10-17)
Josephus\Josephus.aps (36288, 2009-10-17)
Josephus\JosephusDlg.h (1431, 2009-10-17)
Josephus\Resource.h (962, 2009-10-13)
Josephus\Josephus.clw (1514, 2009-10-17)
Josephus\Josephus.h (1346, 2009-10-10)
Josephus\Josephus.cpp (2091, 2009-10-10)
Josephus\Joseph.h (1016, 2009-10-17)
Josephus\StdAfx.h (1054, 2009-10-10)
Josephus\StdAfx.cpp (210, 2009-10-10)
Josephus\JosephusDlg.cpp (5361, 2009-10-17)
Josephus\Josephus.dsw (524, 2009-10-10)
Josephus\Josephus.ncb (58368, 2009-10-17)
Josephus\Josephus.dsp (4256, 2009-10-10)
Josephus\Josephus.plg (1787, 2009-10-17)
Josephus\Debug\Josephus.exe (114796, 2009-10-17)
Josephus\res\Josephus.rc2 (400, 2009-10-10)
Josephus\res\Josephus.ico (1078, 2009-10-10)
Josephus\res\Thumbs.db (3072, 2009-10-12)
Josephus\Debug (0, 2009-10-17)
Josephus\res (0, 2009-10-17)
Josephus (0, 2009-10-17)

近期下载者

相关文件


收藏者