登录
首页 » C/C++ » lovesmerging

lovesmerging

于 2017-10-27 发布 文件大小:95KB
0 60
下载积分: 1 下载次数: 1

代码说明:

  游戏初始状态,假设有一段字母序列,其中任意三个相邻的字母不完全相同。游戏开始后,可以添加字母到所述序列的任意位置。一旦出现三个或更多相同的字母相邻,该连续子列就会消 除;如果一次消除发生后,新产生的序列再次满足消除条件,那么消除连锁发生,直到产生的序 列不再满足消除条件。一次输入后,连续消除的过程中,新字母不会产生;新的字母序列稳定 后,可以进行下一次操作。(The initial state of the game, assuming that there is a sequence of letters, where any three adjacent letters are not exactly the same. After the game starts, you can add letters to any position of the sequence. Once the three or more identical letters are adjacent, the consecutive sub-columns are eliminated; if the newly generated sequence satisfies the elimination condition again after a cancellation, the elimination of the chain occurs until the resulting sequence no longer satisfies the elimination condition The After a single input, the new letters are not generated during the continuous elimination process; after the new letter sequence is stable, the next operation can be performed.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104292会员总数
  • 28今日下载