查看会员资料
用 户 名:xia***
发送消息- Email:用户隐藏
- Icq/MSN:
- 电话号码:
- Homepage:
- 会员简介:
最新会员发布资源
baoshu
- m个人围成一圈,1,2,3循环报数,报到3的人退出,并将退出的序号依次存到数组p中,包括最后一个人的序号。到最后只余1人,输出最后留下的是第几号(最初的序号,以1起始)。-m people form a circle,they report 1,2,3 cyclically. People who report 3 quit and exit numbers sequentially stored in the array P, including the last one s number.