文件名称:kaichuangzi
介绍说明--下载内容均来自于网络,请自行研究使用
开窗游戏 二维数组的使用
给定一5X5方阵:
0 0 0 0 0
0 0 1 0 0
0 1 1 1 0
0 0 1 0 0
0 0 0 0 0
其中:0代表关闭的窗子,1代表开启的窗子
规则:开启或关闭一扇窗子,其自身和其上下左右的窗子的状态都要发生改变,1变为0,0变为1
目的:通过有限次开启/关闭窗子,使所有的窗子都关闭
-The use of two-dimensional array of the game window to be a 5X5 matrix: 0 0 0 0 0 0,010,001,110,001,000,000 0 where: 0 represents the closed window, a representative of Open the window rules: a window open or closed, about their own and their windows up and down the state have changed, one into 0,0 into a purpose: through limited open/close the windows, all windows are closed
给定一5X5方阵:
0 0 0 0 0
0 0 1 0 0
0 1 1 1 0
0 0 1 0 0
0 0 0 0 0
其中:0代表关闭的窗子,1代表开启的窗子
规则:开启或关闭一扇窗子,其自身和其上下左右的窗子的状态都要发生改变,1变为0,0变为1
目的:通过有限次开启/关闭窗子,使所有的窗子都关闭
-The use of two-dimensional array of the game window to be a 5X5 matrix: 0 0 0 0 0 0,010,001,110,001,000,000 0 where: 0 represents the closed window, a representative of Open the window rules: a window open or closed, about their own and their windows up and down the state have changed, one into 0,0 into a purpose: through limited open/close the windows, all windows are closed
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kaichuangzi.txt