有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出圈子,问最后留下的是原来第几号的那位。...
于 2022-07-04 发布
文件大小:2.02 kB
0 78
下载积分: 2
下载次数: 1
代码说明:
有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出圈子,问最后留下的是原来第几号的那位。-There are n individuals form a circle,order. The beginning of the first reported from a number of individuals (from 1-3 off), who reported 3 out of the circle of people who asked the last remaining original issue of the first of several that.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
发表评论