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_26672605_17734.cpp:170:11: error: redefinition of 'const int maxn'
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
           ^
0_0_26672605_17734.cpp:34:11: note: 'const int maxn' previously defined here
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
           ^
0_0_26672605_17734.cpp:170:28: error: redefinition of 'const int INF'
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                            ^
0_0_26672605_17734.cpp:34:28: note: 'const int INF' previously defined here
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                            ^
0_0_26672605_17734.cpp:170:46: error: redefinition of 'const int LL_INF'
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                                              ^
0_0_26672605_17734.cpp:34:46: note: 'const int LL_INF' previously defined here
 const int maxn = 1e5 + 10, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                                              ^
0_0_26672605_17734.cpp:171:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_26672605_17734.cpp:35:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_26672605_17734.cpp:171:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_26672605_17734.cpp:35:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_26672605_17734.cpp:172:11: error: redefinition of 'int a [100010]'
 int a[maxn], b[maxn], c[maxn];
           ^
0_0_26672605_17734.cpp:36:5: note: 'int a [100010]' previously declared here
 int a[maxn], b[maxn], c[maxn];
     ^
0_0_26672605_17734.cpp:172:20: error: redefinition of 'int b [100010]'
 int a[maxn], b[maxn], c[maxn];
                    ^
0_0_26672605_17734.cpp:36:14: note: 'int b [100010]' previously declared here
 int a[maxn], b[maxn], c[maxn];
              ^
0_0_26672605_17734.cpp:172:29: error: redefinition of 'int c [100010]'
 int a[maxn], b[maxn], c[maxn];
                             ^
0_0_26672605_17734.cpp:36:23: note: 'int c [100010]' previously declared here
 int a[maxn], b[maxn], c[maxn];
                       ^
0_0_26672605_17734.cpp:173:19: error: redefinition of 'std::vector<int> G [100010]'
 vector<int> G[maxn];
                   ^
0_0_26672605_17734.cpp:37:13: note: 'std::vector<int> G [100010]' previously declared here
 vector<int> G[maxn];
             ^
0_0_26672605_17734.cpp:174:15: error: redefinition of 'int sccno [100010]'
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
               ^
0_0_26672605_17734.cpp:38:5: note: 'int sccno [100010]' previously declared here
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
     ^
0_0_26672605_17734.cpp:174:26: error: redefinition of 'int low [100010]'
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                          ^
0_0_26672605_17734.cpp:38:18: note: 'int low [100010]' previously declared here
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                  ^
0_0_26672605_17734.cpp:174:37: error: redefinition of 'int vis [100010]'
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                                     ^
0_0_26672605_17734.cpp:38:29: note: 'int vis [100010]' previously declared here
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                             ^
0_0_26672605_17734.cpp:174:40: error: redefinition of 'int scc_clock'
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                                        ^
0_0_26672605_17734.cpp:38:40: note: 'int scc_clock' previously declared here
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                                        ^
0_0_26672605_17734.cpp:174:51: error: redefinition of 'int scc_cnt'
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                                                   ^
0_0_26672605_17734.cpp:38:51: note: 'int scc_cnt' previously declared here
 int sccno[maxn], low[maxn], vis[maxn], scc_clock, scc_cnt;
                                                   ^
0_0_26672605_17734.cpp:175:12: error: redefinition of 'std::stack<int> S'
 stack<int> S;
            ^
0_0_26672605_17734.cpp:39:12: note: 'std::stack<int> S' previously declared here
 stack<int> S;
            ^
0_0_26672605_17734.cpp: In function 'void init()':
0_0_26672605_17734.cpp:176:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_26672605_17734.cpp:40:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_26672605_17734.cpp: In function 'void dfs(int)':
0_0_26672605_17734.cpp:185:6: error: redefinition of 'void dfs(int)'
 void dfs(int u)
      ^
0_0_26672605_17734.cpp:49:6: note: 'void dfs(int)' previously defined here
 void dfs(int u)
      ^
0_0_26672605_17734.cpp: In function 'void build(int)':
0_0_26672605_17734.cpp:212:6: error: redefinition of 'void build(int)'
 void build(int mid)
      ^
0_0_26672605_17734.cpp:76:6: note: 'void build(int)' previously defined here
 void build(int mid)
      ^
0_0_26672605_17734.cpp: In function 'bool check()':
0_0_26672605_17734.cpp:236:6: error: redefinition of 'bool check()'
 bool check()
      ^
0_0_26672605_17734.cpp:100:6: note: 'bool check()' previously defined here
 bool check()
      ^
0_0_26672605_17734.cpp: In function 'int main()':
0_0_26672605_17734.cpp:244:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_26672605_17734.cpp:108: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-26 20:20:50, Gzip enabled