HDU 3220 Alice’s Cube:題目解答源碼html
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.htm
程序源碼ci
源代碼以下get
點擊瞭解完整源代碼!源碼