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_37721199_25807.cpp:101:11: error: redefinition of 'const int N'
 const int N = (1<<10)+10;
           ^
0_0_37721199_25807.cpp:29:11: note: 'const int N' previously defined here
 const int N = (1<<10)+10;
           ^
0_0_37721199_25807.cpp:102:5: error: redefinition of 'int T'
 int T,n,m,w[N],v[N];
     ^
0_0_37721199_25807.cpp:30:5: note: 'int T' previously declared here
 int T,n,m,w[N],v[N];
     ^
0_0_37721199_25807.cpp:102:7: error: redefinition of 'int n'
 int T,n,m,w[N],v[N];
       ^
0_0_37721199_25807.cpp:30:7: note: 'int n' previously declared here
 int T,n,m,w[N],v[N];
       ^
0_0_37721199_25807.cpp:102:9: error: redefinition of 'int m'
 int T,n,m,w[N],v[N];
         ^
0_0_37721199_25807.cpp:30:9: note: 'int m' previously declared here
 int T,n,m,w[N],v[N];
         ^
0_0_37721199_25807.cpp:102:14: error: redefinition of 'int w [1034]'
 int T,n,m,w[N],v[N];
              ^
0_0_37721199_25807.cpp:30:11: note: 'int w [1034]' previously declared here
 int T,n,m,w[N],v[N];
           ^
0_0_37721199_25807.cpp:102:19: error: redefinition of 'int v [1034]'
 int T,n,m,w[N],v[N];
                   ^
0_0_37721199_25807.cpp:30:16: note: 'int v [1034]' previously declared here
 int T,n,m,w[N],v[N];
                ^
0_0_37721199_25807.cpp:104:17: error: redefinition of 'std::bitset<1025ull> b [1034]'
 bitset<1025> b[N],f[N];
                 ^
0_0_37721199_25807.cpp:32:14: note: 'std::bitset<1025ull> b [1034]' previously declared here
 bitset<1025> b[N],f[N];
              ^
0_0_37721199_25807.cpp:104:22: error: redefinition of 'std::bitset<1025ull> f [1034]'
 bitset<1025> b[N],f[N];
                      ^
0_0_37721199_25807.cpp:32:19: note: 'std::bitset<1025ull> f [1034]' previously declared here
 bitset<1025> b[N],f[N];
                   ^
0_0_37721199_25807.cpp: In function 'int main()':
0_0_37721199_25807.cpp:105:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37721199_25807.cpp:33: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-20 17:14:38, Gzip enabled