搜索资源列表
Josephus
- 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。 -Known n individuals (in numbers 1,2,3 ... n respectively) sitting around a round table around. From the number of people began to report the numbe
pta3
- 浙大 PTA练习系统数值分析NA1003 三角追赶法的应用-One day, CYLL found an interesting piece of commercial newspaper: the Cyber-restaurant was offering a kind of Lunch Special which was said that one could buy one get two for free . That is, if you buy one of the dish