寻找连通线,参考八后算法递归,可用于验证码去除连续干扰线
代码语言:txt复制#include <iostream>using namespace std;#define M 5#define N 4int a[M][N] = {0,1,0,1,0,1,1,0,1,1,0,0,1
1月前170
代码语言:txt复制#include <iostream>using namespace std;#define M 5#define N 4int a[M][N] = {0,1,0,1,0,1,1,0,1,1,0,0,1