F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 21:08:10, Gzip enabled