一实验思路: 1.在文件中输入一个数组,并从文件中读出来2.定义一个二维数组num[M][N],用来存放从文件中读出 的数组,二维数组visit[M][N]用来标记是否联通 3.首先标记二维数组中的正数 4.找出正整数上下左右相邻加起来和为正的负数 5.然后判断是否联通,将不联通的抛掉,将小的负数排 ...
分类:
移动开发 时间:
2016-04-06 18:44:31
阅读次数:
249
这是一道BFS的搜索题目,只是搜索范围变为了三维。定义数组visit[x][y][z]来标记空间位置,x表示楼层,y和z表示相应楼层的平面坐标。 ...
分类:
其他好文 时间:
2016-04-01 17:47:22
阅读次数:
138
archive.apache.org
This site contains the historical archive of old software releases.
For current releases, please visit the mirrors.
Name Last modified Size Description ...
分类:
Web程序 时间:
2016-03-26 07:16:23
阅读次数:
244
Description Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home
分类:
数据库 时间:
2016-03-20 11:46:08
阅读次数:
343
坚持~坚持~坚持~! Have you ever been to Costa Rica? 你有没有去过哥斯达黎加? No I haven't.Have you? 没有,你去过吗? I just got back from a week in Costa Rica! 我刚去哥斯达黎加度了一周假. It
分类:
其他好文 时间:
2016-03-10 09:21:46
阅读次数:
223
css选择器大致分为三种: 标签选择器(*是特殊情况),可但标签,也可上下文多标签; 通用*+标签+多标签 属性选择器(id和class都是属性,特殊的属性) id+class+属性(img[title]) 伪类,伪元素选择器 :(:active :focus :hover :link :visit
分类:
Web程序 时间:
2016-02-23 20:44:06
阅读次数:
151
1. 访问Visit: 一次访问就是指一个人来到网站,然后浏览了一些内容之后离开网站的过程;这个过程也被称之为会话,也就是session。注意关闭浏览器后session会话并不会自动销毁,因为服务器端session往往默认有个20分钟的过期时间,如果关闭浏览器后又打开并且访问了同一个网址,这时候只要
分类:
Web程序 时间:
2016-02-23 06:04:37
阅读次数:
280
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14059 Accepted: 5354 Description When FJ's friends visit him on the farm, he likes to show
分类:
其他好文 时间:
2016-02-22 19:04:05
阅读次数:
207
<?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fw
分类:
Web程序 时间:
2016-02-17 12:36:27
阅读次数:
106
<configSections> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="e
分类:
Web程序 时间:
2016-02-07 02:19:47
阅读次数:
153