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_25151492_5814.cpp:79:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f3f;
           ^
0_0_25151492_5814.cpp:5:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f3f;
           ^
0_0_25151492_5814.cpp:80:11: error: redefinition of 'const int maxn'
 const int maxn = 1e5 + 5;
           ^
0_0_25151492_5814.cpp:6:11: note: 'const int maxn' previously defined here
 const int maxn = 1e5 + 5;
           ^
0_0_25151492_5814.cpp:81:11: error: redefinition of 'const int mod'
 const int mod = 1e9+7;
           ^
0_0_25151492_5814.cpp:7:11: note: 'const int mod' previously defined here
 const int mod = 1e9+7;
           ^
0_0_25151492_5814.cpp:83:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_25151492_5814.cpp:9:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_25151492_5814.cpp:83:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_25151492_5814.cpp:9:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_25151492_5814.cpp:85:11: error: redefinition of 'int a [100005]'
 int a[maxn], b[maxn];
           ^
0_0_25151492_5814.cpp:11:5: note: 'int a [100005]' previously declared here
 int a[maxn], b[maxn];
     ^
0_0_25151492_5814.cpp:85:20: error: redefinition of 'int b [100005]'
 int a[maxn], b[maxn];
                    ^
0_0_25151492_5814.cpp:11:14: note: 'int b [100005]' previously declared here
 int a[maxn], b[maxn];
              ^
0_0_25151492_5814.cpp:86:13: error: redefinition of 'int vis [100005]'
 int vis[maxn];
             ^
0_0_25151492_5814.cpp:12:5: note: 'int vis [100005]' previously declared here
 int vis[maxn];
     ^
0_0_25151492_5814.cpp:88:13: error: redefinition of 'std::vector<int> A'
 vector<int> A;
             ^
0_0_25151492_5814.cpp:14:13: note: 'std::vector<int> A' previously declared here
 vector<int> A;
             ^
0_0_25151492_5814.cpp:89:13: error: redefinition of 'std::vector<int> B'
 vector<int> B;
             ^
0_0_25151492_5814.cpp:15:13: note: 'std::vector<int> B' previously declared here
 vector<int> B;
             ^
0_0_25151492_5814.cpp: In function 'int main()':
0_0_25151492_5814.cpp:91:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25151492_5814.cpp:17: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-02 14:52:27, Gzip enabled