# CandyExchange **Repository Path**: cdkeeper/candy-exchange ## Basic Information - **Project Name**: CandyExchange - **Description**: 例如,如果 n=6,p=[4,6,1,3,5,2],那么一次操作过后,第1个孩子的糖果属于第4个孩子,第2个孩子糖果属于第6个孩子,一次类推。第二次操作过后,第1个孩子的糖果属于第3个孩子,第2个孩子的糖果属于第2个孩子,以此类推。 你的任务是确定从 1 到 n 的每一个 i ,第 i 个孩子第一次重新拿到自己糖果的操作次数。 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-06 - **Last Updated**: 2021-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CandyExchange #### Description 例如,如果 n=6,p=[4,6,1,3,5,2],那么一次操作过后,第1个孩子的糖果属于第4个孩子,第2个孩子糖果属于第6个孩子,一次类推。第二次操作过后,第1个孩子的糖果属于第3个孩子,第2个孩子的糖果属于第2个孩子,以此类推。 你的任务是确定从 1 到 n 的每一个 i ,第 i 个孩子第一次重新拿到自己糖果的操作次数。 #### Software Architecture Software architecture description #### Installation 1. xxxx 2. xxxx 3. xxxx #### Instructions 1. xxxx 2. xxxx 3. xxxx #### Contribution 1. Fork the repository 2. Create Feat_xxx branch 3. Commit your code 4. Create Pull Request #### Gitee Feature 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)