ZOJ 1047 Image Perimeters
/*深度优先搜索*/
#include
using namespace std;
#include
char map[30][30];
int flag[30][30];
int big = 0,m=0,n=0;
int a[9][2] = { 0, 0, -1, -1, -1, 0, -1, 1, 0, -1, 0, 1, 1, -1, 1, 0, 1, 1 };
int b[5][2] =
原创
2015-02-21 18:35:48 ·
286 阅读 ·
0 评论