2012年3月28日

poj 3620 DFS

摘要: 水题 1 #include <iostream> 2 #include <stdio.h> 3 #include <string.h> 4 using namespace std; 5 6 const int maxx=100; 7 8 int dir[4][2]={{0,1},{1,0},{0,-1},{-1,0}}; 9 int n,m;10 bool wet[maxx+2][maxx+2],visit[maxx+2][maxx+2];11 int ans,cnt;12 struct A13 {14 int x,y;15 };16 A point[max 阅读全文

posted @ 2012-03-28 20:37 Inpeace7 阅读(140) 评论(0) 推荐(0) 编辑

导航