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_30623581_29558.cpp:34:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_30623581_29558.cpp:34:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_30623581_29558.cpp:38:5: error: redefinition of 'int W'
 int W,n;
     ^
0_0_30623581_29558.cpp:5:5: note: 'int W' previously declared here
 int W,n;
     ^
0_0_30623581_29558.cpp:38:7: error: redefinition of 'int n'
 int W,n;
       ^
0_0_30623581_29558.cpp:5:7: note: 'int n' previously declared here
 int W,n;
       ^
0_0_30623581_29558.cpp:39:11: error: redefinition of 'int w [2005]'
 int w[2005],v[2005];
           ^
0_0_30623581_29558.cpp:6:5: note: 'int w [2005]' previously declared here
 int w[2005],v[2005];
     ^
0_0_30623581_29558.cpp:39:19: error: redefinition of 'int v [2005]'
 int w[2005],v[2005];
                   ^
0_0_30623581_29558.cpp:6:13: note: 'int v [2005]' previously declared here
 int w[2005],v[2005];
             ^
0_0_30623581_29558.cpp:40:13: error: redefinition of 'int dp [20005]'
 int dp[20005];
             ^
0_0_30623581_29558.cpp:7:5: note: 'int dp [20005]' previously declared here
 int dp[20005];
     ^
0_0_30623581_29558.cpp: In function 'int main()':
0_0_30623581_29558.cpp:41:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30623581_29558.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-23 09:35:48, Gzip enabled