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_25999948_391.cpp:35:11: error: redefinition of 'const int N'
 const int N=6e5+5;
           ^
0_0_25999948_391.cpp:5:11: note: 'const int N' previously defined here
 const int N=6e5+5;
           ^
0_0_25999948_391.cpp:36:11: error: redefinition of 'const int inf'
 const int inf=0x3f3f3f3f;
           ^
0_0_25999948_391.cpp:6:11: note: 'const int inf' previously defined here
 const int inf=0x3f3f3f3f;
           ^
0_0_25999948_391.cpp:37:13: error: redefinition of 'int dp [10010]'
 int dp[10010],w[550],v[550];
             ^
0_0_25999948_391.cpp:7:5: note: 'int dp [10010]' previously declared here
 int dp[10010],w[550],v[550];
     ^
0_0_25999948_391.cpp:37:20: error: redefinition of 'int w [550]'
 int dp[10010],w[550],v[550];
                    ^
0_0_25999948_391.cpp:7:15: note: 'int w [550]' previously declared here
 int dp[10010],w[550],v[550];
               ^
0_0_25999948_391.cpp:37:27: error: redefinition of 'int v [550]'
 int dp[10010],w[550],v[550];
                           ^
0_0_25999948_391.cpp:7:22: note: 'int v [550]' previously declared here
 int dp[10010],w[550],v[550];
                      ^
0_0_25999948_391.cpp: In function 'int main()':
0_0_25999948_391.cpp:38:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_25999948_391.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-12-04 21:10:44, Gzip enabled