Description: A m × n (m ≤ 100, n ≤ 100) gold coins on the table arranged in a m-n array of gold coins. Each gold coin or face up or back up. Gold status with the digits, 0 gold side up, 1 back up. Gold arrays rules of the game are: (1) gold coins each time to turn over any line on the original location (2) choice of two each time, switching the location of these two gold coins. . Programming tasks: Given the array of initial state and the gold target state, programming calculation rules of the game by gold, the gold transform the array to the target from the initial state the minimum required to change the number of states.
To Search:
File list (Check if you may need any files):
1_4jinbi\1_4jinbi.cpp
........\1_4jinbi.dsp
........\1_4jinbi.dsw
........\1_4jinbi.ncb
........\1_4jinbi.opt
........\1_4jinbi.plg
........\Debug\1_4jinbi.exe
........\.....\1_4jinbi.ilk
........\.....\1_4jinbi.obj
........\.....\1_4jinbi.pch
........\.....\1_4jinbi.pdb
........\.....\vc60.idb
........\.....\vc60.pdb
........\input.txt
........\output.txt
........\Debug
1_4jinbi