0_0_17913777_2354.cpp:158:1: error: stray '\344' in program
<p>代码(2),传递闭包 + DFS</p>
^
0_0_17913777_2354.cpp:158:1: error: stray '\273' in program
0_0_17913777_2354.cpp:158:1: error: stray '\243' in program
0_0_17913777_2354.cpp:158:1: error: stray '\347' in program
0_0_17913777_2354.cpp:158:1: error: stray '\240' in program
0_0_17913777_2354.cpp:158:1: error: stray '\201' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\210' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\222' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\211' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\214' in program
0_0_17913777_2354.cpp:158:1: error: stray '\344' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\240' in program
0_0_17913777_2354.cpp:158:1: error: stray '\351' in program
0_0_17913777_2354.cpp:158:1: error: stray '\200' in program
0_0_17913777_2354.cpp:158:1: error: stray '\222' in program
0_0_17913777_2354.cpp:158:1: error: stray '\351' in program
0_0_17913777_2354.cpp:158:1: error: stray '\227' in program
0_0_17913777_2354.cpp:158:1: error: stray '\255' in program
0_0_17913777_2354.cpp:158:1: error: stray '\345' in program
0_0_17913777_2354.cpp:158:1: error: stray '\214' in program
0_0_17913777_2354.cpp:158:1: error: stray '\205' in program
0_0_17913777_2354.cpp:158:1: error: stray '\343' in program
0_0_17913777_2354.cpp:158:1: error: stray '\200' in program
0_0_17913777_2354.cpp:158:1: error: stray '\200' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\213' in program
0_0_17913777_2354.cpp:158:1: error: stray '\343' in program
0_0_17913777_2354.cpp:158:1: error: stray '\200' in program
0_0_17913777_2354.cpp:158:1: error: stray '\200' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\244' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\246' in program
0_0_17913777_2354.cpp:158:1: error: stray '\357' in program
0_0_17913777_2354.cpp:158:1: error: stray '\274' in program
0_0_17913777_2354.cpp:158:1: error: stray '\263' in program
0_0_17913777_2354.cpp:159:25: error: stray '#' in program
<pre class="brush:cpp ">#include <iostream>
^
0_0_17913777_2354.cpp: In function 'void Init()':
0_0_17913777_2354.cpp:42:30: error: 'memset' was not declared in this scope
memset( map, 0, sizeof(map) );
^
0_0_17913777_2354.cpp: At global scope:
0_0_17913777_2354.cpp:157:2: error: expected unqualified-id before '<' token
}</pre>
^
0_0_17913777_2354.cpp:164:11: error: redefinition of 'const int SIZE'
const int SIZE = 410;
^
0_0_17913777_2354.cpp:6:11: note: 'const int SIZE' previously defined here
const int SIZE = 205;
^
0_0_17913777_2354.cpp:175:5: error: redefinition of 'int m'
int m;
^
0_0_17913777_2354.cpp:17:5: note: 'int m' previously declared here
int m;
^
0_0_17913777_2354.cpp:177:5: error: redefinition of 'int r'
int r;
^
0_0_17913777_2354.cpp:19:5: note: 'int r' previously declared here
int r;
^
0_0_17913777_2354.cpp:183:19: error: redefinition of 'int map [205][205]'
int map[SIZE][SIZE];
^
0_0_17913777_2354.cpp:25:5: note: 'int map [205][205]' previously declared here
int map[SIZE][SIZE];
^
0_0_17913777_2354.cpp:186:17: error: conflicting declaration 'int visited [205]'
int visited[SIZE];
^
0_0_17913777_2354.cpp:35:6: note: previous declaration as 'bool visited [2][205]'
bool visited[2][SIZE];
^
0_0_17913777_2354.cpp:189:22: error: conflicting declaration 'int dp [102][102]'
int dp[SIZE/2][SIZE/2];
^
0_0_17913777_2354.cpp:32:6: note: previous declaration as 'bool dp [205][205]'
bool dp[SIZE][SIZE];
^
0_0_17913777_2354.cpp: In function 'void Input()':
0_0_17913777_2354.cpp:193:6: error: redefinition of 'void Input()'
void Input()
^
0_0_17913777_2354.cpp:47:6: note: 'void Input()' previously defined here
void Input()
^
0_0_17913777_2354.cpp:199:30: error: 'memset' was not declared in this scope
memset( map, 0, sizeof(map) );
^
0_0_17913777_2354.cpp: In function 'void Build()':
0_0_17913777_2354.cpp:236:38: error: 'memset' was not declared in this scope
memset( visited, 0, sizeof(visited) );
^
0_0_17913777_2354.cpp:257:17: error: incompatible types in assignment of 'int' to 'bool [205]'
visited[i] = 1;
^
0_0_17913777_2354.cpp: In function 'void Knapsack()':
0_0_17913777_2354.cpp:264:6: error: redefinition of 'void Knapsack()'
void Knapsack()
^
0_0_17913777_2354.cpp:93:6: note: 'void Knapsack()' previously defined here
void Knapsack()
^
0_0_17913777_2354.cpp:266:28: error: 'memset' was not declared in this scope
memset( dp, 0, sizeof(dp) );
^
0_0_17913777_2354.cpp: In function 'int main()':
0_0_17913777_2354.cpp:297:5: error: redefinition of 'int main()'
int main()
^
0_0_17913777_2354.cpp:120:5: note: 'int main()' previously defined here
int main()
^
|