0_0_25103396_24648.cpp:32:16: error: redefinition of 'const int dy1 [8]'
const int dy1[8] = { -1, 1, -2, 2, -2, 2, -1, 1 };
^
0_0_25103396_24648.cpp:31:11: note: 'const int dy1 [8]' previously defined here
const int dy1[8] = { -2, -2, -1, -1, 1, 1, 2, 2 };
^
0_0_25103396_24648.cpp: In function 'void go()':
0_0_25103396_24648.cpp:191:19: error: 'dx1' was not declared in this scope
int xx = x1 + dx1[k];
^
0_0_25103396_24648.cpp:194:9: error: redeclaration of 'int yyy'
int yyy = y1 + dy2[k];
^
0_0_25103396_24648.cpp:193:9: note: 'int yyy' previously declared here
int yyy = x1 + dx2[k];
^
0_0_25103396_24648.cpp:196:43: error: 'xxx' was not declared in this scope
if (ok(xx, yy, x2, y2, x3, y3) && dif(xxx, yyy, x2, y2) && dif(xxx, yyy, x3, y3))
^
|