文件名称:kaichuangzi
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.52kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
开窗游戏 二维数组的使用
给定一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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.