0_0_38565987_389.cpp:38:11: error: redefinition of 'const int INF'
const int INF=0x3f3f3f3f;//等于十进制1061109567//写9个9也行,就是要让它最大。
^
0_0_38565987_389.cpp:6:11: note: 'const int INF' previously defined here
const int INF=0x3f3f3f3f;//等于十进制1061109567//写9个9也行,就是要让它最大。
^
0_0_38565987_389.cpp:39:10: error: redefinition of 'int v [550]'
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:7:5: note: 'int v [550]' previously declared here
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:39:17: error: redefinition of 'int w [550]'
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:7:12: note: 'int w [550]' previously declared here
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:39:27: error: redefinition of 'int dp [10010]'
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:7:19: note: 'int dp [10010]' previously declared here
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:39:29: error: redefinition of 'int n'
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:7:29: note: 'int n' previously declared here
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:39:31: error: redefinition of 'int Value'
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp:7:31: note: 'int Value' previously declared here
int v[550],w[550],dp[10010],n,Value;
^
0_0_38565987_389.cpp: In function 'int main()':
0_0_38565987_389.cpp:40:5: error: redefinition of 'int main()'
int main()
^
0_0_38565987_389.cpp:8:5: note: 'int main()' previously defined here
int main()
^
|