0_0_17267401_27733.cpp:127:2: error: stray '#' in program
return 0;
^
0_0_17267401_27733.cpp:127:8: error: stray '#' in program
return 0;
^
0_0_17267401_27733.cpp:127:14: error: stray '#' in program
return 0;
^
0_0_17267401_27733.cpp:127:20: error: stray '#' in program
return 0;
^
0_0_17267401_27733.cpp: In function 'void dfs(int, int, int, int)':
0_0_17267401_27733.cpp:41:14: error: 'vis' was not declared in this scope
if (!vis[R + 1][R + 2]) {
^
0_0_17267401_27733.cpp:51:14: error: 'vis' was not declared in this scope
if (!vis[L - 1][L - 2]) {
^
0_0_17267401_27733.cpp:60:14: error: 'vis' was not declared in this scope
if (!vis[L - 1][R + 1]) {
^
0_0_17267401_27733.cpp: In function 'bool judge2(int, int)':
0_0_17267401_27733.cpp:75:5: error: 'vis' was not declared in this scope
vis[a][b] = true;
^
0_0_17267401_27733.cpp: In function 'int cal(int)':
0_0_17267401_27733.cpp:85:9: error: 'vis' was not declared in this scope
clr(vis, 0);
^
0_0_17267401_27733.cpp:19:26: note: in definition of macro 'clr'
#define clr(a, b) memset(a, b, sizeof(a))
^
0_0_17267401_27733.cpp: In function 'int main()':
0_0_17267401_27733.cpp:127:3: error: lvalue required as unary '&' operand
return 0;
^
0_0_17267401_27733.cpp:127:9: error: lvalue required as unary '&' operand
return 0;
^
0_0_17267401_27733.cpp:127:15: error: lvalue required as unary '&' operand
return 0;
^
0_0_17267401_27733.cpp:127:21: error: lvalue required as unary '&' operand
return 0;
^
|