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.

      程序源码

      源代码如下

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

      点击了解完整源代码!