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_33820325_20837.cpp:75:2: error: stray '#' in program
 }#pragma GCC optimize(2)
  ^
0_0_33820325_20837.cpp:75:3: error: 'pragma' does not name a type
 }#pragma GCC optimize(2)
   ^
0_0_33820325_20837.cpp:87:10: error: redefinition of 'template<class T> T gi()'
 inline T gi()
          ^
0_0_33820325_20837.cpp:13:10: note: 'template<class T> T gi()' previously declared here
 inline T gi()
          ^
0_0_33820325_20837.cpp:95:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
           ^
0_0_33820325_20837.cpp:21:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
           ^
0_0_33820325_20837.cpp:95:29: error: redefinition of 'const int N'
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
                             ^
0_0_33820325_20837.cpp:21:29: note: 'const int N' previously defined here
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
                             ^
0_0_33820325_20837.cpp:95:41: error: redefinition of 'const int M'
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
                                         ^
0_0_33820325_20837.cpp:21:41: note: 'const int M' previously defined here
 const int INF = 0x3f3f3f3f, N = 100003, M = N << 1;
                                         ^
0_0_33820325_20837.cpp:97:5: error: redefinition of 'int T'
 int T, n, fa[N];
     ^
0_0_33820325_20837.cpp:23:5: note: 'int T' previously declared here
 int T, n, fa[N];
     ^
0_0_33820325_20837.cpp:97:8: error: redefinition of 'int n'
 int T, n, fa[N];
        ^
0_0_33820325_20837.cpp:23:8: note: 'int n' previously declared here
 int T, n, fa[N];
        ^
0_0_33820325_20837.cpp:97:15: error: redefinition of 'int fa [100003]'
 int T, n, fa[N];
               ^
0_0_33820325_20837.cpp:23:11: note: 'int fa [100003]' previously declared here
 int T, n, fa[N];
           ^
0_0_33820325_20837.cpp:98:7: error: redefinition of 'LL a [100003]'
 LL a[N];
       ^
0_0_33820325_20837.cpp:24:4: note: 'LL a [100003]' previously declared here
 LL a[N];
    ^
0_0_33820325_20837.cpp:99:5: error: redefinition of 'int tot'
 int tot, head[N], ver[M], nxt[M];
     ^
0_0_33820325_20837.cpp:25:5: note: 'int tot' previously declared here
 int tot, head[N], ver[M], nxt[M];
     ^
0_0_33820325_20837.cpp:99:16: error: redefinition of 'int head [100003]'
 int tot, head[N], ver[M], nxt[M];
                ^
0_0_33820325_20837.cpp:25:10: note: 'int head [100003]' previously declared here
 int tot, head[N], ver[M], nxt[M];
          ^
0_0_33820325_20837.cpp:99:24: error: redefinition of 'int ver [200006]'
 int tot, head[N], ver[M], nxt[M];
                        ^
0_0_33820325_20837.cpp:25:19: note: 'int ver [200006]' previously declared here
 int tot, head[N], ver[M], nxt[M];
                   ^
0_0_33820325_20837.cpp:99:32: error: redefinition of 'int nxt [200006]'
 int tot, head[N], ver[M], nxt[M];
                                ^
0_0_33820325_20837.cpp:25:27: note: 'int nxt [200006]' previously declared here
 int tot, head[N], ver[M], nxt[M];
                           ^
0_0_33820325_20837.cpp:100:4: error: redefinition of 'LL sum1'
 LL sum1, sum2;
    ^
0_0_33820325_20837.cpp:26:4: note: 'LL sum1' previously declared here
 LL sum1, sum2;
    ^
0_0_33820325_20837.cpp:100:10: error: redefinition of 'LL sum2'
 LL sum1, sum2;
          ^
0_0_33820325_20837.cpp:26:10: note: 'LL sum2' previously declared here
 LL sum1, sum2;
          ^
0_0_33820325_20837.cpp:101:12: error: redefinition of 'bool vis1 [100003]'
 bool vis1[N], vis2[N];
            ^
0_0_33820325_20837.cpp:27:6: note: 'bool vis1 [100003]' previously declared here
 bool vis1[N], vis2[N];
      ^
0_0_33820325_20837.cpp:101:21: error: redefinition of 'bool vis2 [100003]'
 bool vis1[N], vis2[N];
                     ^
0_0_33820325_20837.cpp:27:15: note: 'bool vis2 [100003]' previously declared here
 bool vis1[N], vis2[N];
               ^
0_0_33820325_20837.cpp: In function 'void add(int, int)':
0_0_33820325_20837.cpp:103:13: error: redefinition of 'void add(int, int)'
 inline void add(register int u, register int v)
             ^
0_0_33820325_20837.cpp:29:13: note: 'void add(int, int)' previously defined here
 inline void add(register int u, register int v)
             ^
0_0_33820325_20837.cpp: In function 'void dfs(int)':
0_0_33820325_20837.cpp:108:6: error: redefinition of 'void dfs(int)'
 void dfs(register int u)
      ^
0_0_33820325_20837.cpp:34:6: note: 'void dfs(int)' previously defined here
 void dfs(register int u)
      ^
0_0_33820325_20837.cpp: In function 'int main()':
0_0_33820325_20837.cpp:123:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33820325_20837.cpp:49: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-06-17 18:26:55, Gzip enabled