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_30512498_13370.cpp:90:11: error: redefinition of 'const int N'
 const int N = 1001, M = 10001;
           ^
0_0_30512498_13370.cpp:3:11: note: 'const int N' previously defined here
 const int N = 1001, M = 10001;
           ^
0_0_30512498_13370.cpp:90:21: error: redefinition of 'const int M'
 const int N = 1001, M = 10001;
                     ^
0_0_30512498_13370.cpp:3:21: note: 'const int M' previously defined here
 const int N = 1001, M = 10001;
                     ^
0_0_30512498_13370.cpp:91:5: error: redefinition of 'int n'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
     ^
0_0_30512498_13370.cpp:4:5: note: 'int n' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
     ^
0_0_30512498_13370.cpp:91:8: error: redefinition of 'int m'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
        ^
0_0_30512498_13370.cpp:4:8: note: 'int m' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
        ^
0_0_30512498_13370.cpp:91:11: error: redefinition of 'int S'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
           ^
0_0_30512498_13370.cpp:4:11: note: 'int S' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
           ^
0_0_30512498_13370.cpp:91:14: error: redefinition of 'int T'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
              ^
0_0_30512498_13370.cpp:4:14: note: 'int T' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
              ^
0_0_30512498_13370.cpp:91:17: error: redefinition of 'int u'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                 ^
0_0_30512498_13370.cpp:4:17: note: 'int u' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                 ^
0_0_30512498_13370.cpp:91:20: error: redefinition of 'int v'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                    ^
0_0_30512498_13370.cpp:4:20: note: 'int v' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                    ^
0_0_30512498_13370.cpp:91:23: error: redefinition of 'int r'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                       ^
0_0_30512498_13370.cpp:4:23: note: 'int r' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                       ^
0_0_30512498_13370.cpp:91:26: error: redefinition of 'int tot'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                          ^
0_0_30512498_13370.cpp:4:26: note: 'int tot' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                          ^
0_0_30512498_13370.cpp:91:37: error: redefinition of 'int Head [1001]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                     ^
0_0_30512498_13370.cpp:4:31: note: 'int Head [1001]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                               ^
0_0_30512498_13370.cpp:91:51: error: redefinition of 'int Next [20002]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                   ^
0_0_30512498_13370.cpp:4:40: note: 'int Next [20002]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                        ^
0_0_30512498_13370.cpp:91:65: error: redefinition of 'int Link [20002]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                 ^
0_0_30512498_13370.cpp:4:54: note: 'int Link [20002]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                      ^
0_0_30512498_13370.cpp:91:79: error: redefinition of 'int Rest [20002]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                               ^
0_0_30512498_13370.cpp:4:68: note: 'int Rest [20002]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                    ^
0_0_30512498_13370.cpp:91:85: error: redefinition of 'int h [1001]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                     ^
0_0_30512498_13370.cpp:4:82: note: 'int h [1001]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                  ^
0_0_30512498_13370.cpp:91:96: error: redefinition of 'int s [2002]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                                ^
0_0_30512498_13370.cpp:4:88: note: 'int s [2002]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                        ^
0_0_30512498_13370.cpp:91:102: error: redefinition of 'int e [1001]'
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                                      ^
0_0_30512498_13370.cpp:4:99: note: 'int e [1001]' previously declared here
 int n, m, S, T, u, v, r, tot, Head[N], Next[M << 1], Link[M << 1], Rest[M << 1], h[N], s[N << 1], e[N];
                                                                                                   ^
0_0_30512498_13370.cpp:92:12: error: redefinition of 'bool flag [1001]'
 bool flag[N];
            ^
0_0_30512498_13370.cpp:5:6: note: 'bool flag [1001]' previously declared here
 bool flag[N];
      ^
0_0_30512498_13370.cpp:93:12: error: redefinition of 'std::queue<int> q'
 queue<int> q;
            ^
0_0_30512498_13370.cpp:6:12: note: 'std::queue<int> q' previously declared here
 queue<int> q;
            ^
0_0_30512498_13370.cpp: In function 'void AddEdge(int, int, int)':
0_0_30512498_13370.cpp:94:13: error: redefinition of 'void AddEdge(int, int, int)'
 inline void AddEdge(int u, int v, int r) {
             ^
0_0_30512498_13370.cpp:7:13: note: 'void AddEdge(int, int, int)' previously defined here
 inline void AddEdge(int u, int v, int r) {
             ^
0_0_30512498_13370.cpp: In function 'void BFS()':
0_0_30512498_13370.cpp:100:6: error: redefinition of 'void BFS()'
 void BFS() {
      ^
0_0_30512498_13370.cpp:13:6: note: 'void BFS()' previously defined here
 void BFS() {
      ^
0_0_30512498_13370.cpp: In function 'bool Push(int)':
0_0_30512498_13370.cpp:115:6: error: redefinition of 'bool Push(int)'
 bool Push(int x) {
      ^
0_0_30512498_13370.cpp:28:6: note: 'bool Push(int)' previously defined here
 bool Push(int x) {
      ^
0_0_30512498_13370.cpp: In function 'void Relabel(int)':
0_0_30512498_13370.cpp:132:6: error: redefinition of 'void Relabel(int)'
 void Relabel(int x) {
      ^
0_0_30512498_13370.cpp:45:6: note: 'void Relabel(int)' previously defined here
 void Relabel(int x) {
      ^
0_0_30512498_13370.cpp: In function 'int main()':
0_0_30512498_13370.cpp:139:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_30512498_13370.cpp:52: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-22 11:44:41, Gzip enabled