HDU 3220 Alice’s Cube:題目解答源碼

      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.

      程序源碼

      源代碼如下

1.png

      點擊瞭解完整源代碼!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章