Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - josephus
Search - josephus - List
程序利用链表实现约瑟夫环 1. 可以输入游戏人数,初始密码,还可以输入每个人持有的密码。 2. 输入的游戏人数和初始密码还有每个人持有的密码都不可以为0,若为0则重新输入。 3. 测试数据为 游戏人数:0,5 初始密码;0,5 每个人持有的密码依次为:1,2,3,5,4 -procedures used to achieve a Josephus. The game can be imported to the number of initial password, but also can be imported each person to hold the password. 2. The importation of the game and the number of each initial password holders have the password will not be 0, 0 if to re-enter. 3. Test data for the number of games : 0,5 initial password; 0,5 held each followed by the password : 1,2,3, 5,4
Date : 2026-01-09 Size : 226kb User : linling

据说着名犹太历史学家Josephus有过以下的故事:在罗马人占领乔塔帕特后,39 个犹 太人与Josephus及他的朋友躲到一个洞中,39个犹太人决定宁愿死也不要被敌人到,于是决定了 一个自杀方式,41个人排成一个圆圈,由第1个人开始报数,每报数到第3人该人就必须自杀, 然后再由下一个重新报数,直到所有人都自杀身亡为止。 然而Josephus 和他的朋友并不想遵从,Josephus要他的朋友先假装遵从,他将朋友与自己安排 在第16个与第31个位置,于是逃过了这场死亡游戏。 此程序为求解自杀顺序的程序。-It is said that the Jewish historian Josephus had the following story: After the Roman occupation Qiaotapate, 39 still Jews and Josephus and his friends hid in a cave, 39 Jews were the enemy decided to rather die than do not, then determine the A suicide, 41 individuals arranged in a circle, from the first few individuals began to report, report number to each of the three people who have to commit suicide, And then re-reported by the next number, until all committed suicide so far. However, Josephus and his friends did not want to comply, Josephus first pretended to follow his friends, he arranged with his friends In the first 16 with the first 31 positions, so escaped death in this game. This procedure is the procedure in order to solve suicide.
Date : 2026-01-09 Size : 1kb User : lilianyin

用visualC++的实现的动态约瑟夫环。 约瑟夫环是一种有数字组成的环,按一定消去,直至完全-Implementation with visualC++ dynamic Josephus. Joseph ring is a ring with digits, according to a certain elimination, until completely
Date : 2026-01-09 Size : 120kb User : ran

用c++语言在vs环境中实现的约瑟夫环小游戏,供初学者参考使用-Using c++ language environment vs implemented Josephus games, reference for beginners to use
Date : 2026-01-09 Size : 873kb User : tianyuan

模拟约瑟夫环的小游戏,使用的数据结构式是链表-Joseph Link Game,Data Structure for using a linked list
Date : 2026-01-09 Size : 293kb User :

This code is a solution for JosephUs game. I used pointer to solve it.
Date : 2026-01-09 Size : 1kb User : Fariddodin Kiaei
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.