您的位置:首页 > 其它

HDU 3220 Alice’s Cube:题目解答源码

2016-09-29 16:38 453 查看
      HDU 3220 Alice’s Cube:题目解答源码

      Alice has received a hypercube toy as her birthday present.This hypercube has 16 vertices,numbered from 1 to 16,as illustrated below.On every vertex,there is a light bulb that can be turned on or off.Initially,eight of the light bulbs are turned on and
the other eight are turned off.You are allowed to switch the states of two adjacent light bulbs with different states(“on”to“off”,and“off”to“on”;specifically,swap their states)in one operation.

      程序源码

      源代码如下



      点击了解完整源代码!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: