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_25725995_13454.cpp:70:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_25725995_13454.cpp:139:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_25725995_13454.cpp:70:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_25725995_13454.cpp:76:11: error: redefinition of 'const int maxn'
 const int maxn=10005;
           ^
0_0_25725995_13454.cpp:7:11: note: 'const int maxn' previously defined here
 const int maxn=10005;
           ^
0_0_25725995_13454.cpp:77:13: error: redefinition of 'int dfn [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
             ^
0_0_25725995_13454.cpp:8:5: note: 'int dfn [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
     ^
0_0_25725995_13454.cpp:77:23: error: redefinition of 'int low [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
                       ^
0_0_25725995_13454.cpp:8:15: note: 'int low [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
               ^
0_0_25725995_13454.cpp:77:32: error: redefinition of 'int sz [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
                                ^
0_0_25725995_13454.cpp:8:25: note: 'int sz [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
                         ^
0_0_25725995_13454.cpp:78:5: error: redefinition of 'int num'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
     ^
0_0_25725995_13454.cpp:9:5: note: 'int num' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
     ^
0_0_25725995_13454.cpp:78:9: error: redefinition of 'int cnt'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
         ^
0_0_25725995_13454.cpp:9:9: note: 'int cnt' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
         ^
0_0_25725995_13454.cpp:78:24: error: redefinition of 'int belong [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                        ^
0_0_25725995_13454.cpp:9:13: note: 'int belong [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
             ^
0_0_25725995_13454.cpp:78:33: error: redefinition of 'int in [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                 ^
0_0_25725995_13454.cpp:9:26: note: 'int in [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                          ^
0_0_25725995_13454.cpp:78:43: error: redefinition of 'int out [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                           ^
0_0_25725995_13454.cpp:9:35: note: 'int out [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                   ^
0_0_25725995_13454.cpp:79:11: error: redefinition of 'std::stack<int> stk'
 stack<int>stk;
           ^
0_0_25725995_13454.cpp:10:11: note: 'std::stack<int> stk' previously declared here
 stack<int>stk;
           ^
0_0_25725995_13454.cpp:80:18: error: redefinition of 'std::vector<int> e [10005]'
 vector<int>e[maxn];
                  ^
0_0_25725995_13454.cpp:11:12: note: 'std::vector<int> e [10005]' previously declared here
 vector<int>e[maxn];
            ^
0_0_25725995_13454.cpp: In function 'void tarjan(int)':
0_0_25725995_13454.cpp:81:6: error: redefinition of 'void tarjan(int)'
 void tarjan(int x){
      ^
0_0_25725995_13454.cpp:12:6: note: 'void tarjan(int)' previously defined here
 void tarjan(int x){
      ^
0_0_25725995_13454.cpp: In function 'int main()':
0_0_25725995_13454.cpp:105:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_25725995_13454.cpp:36:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_25725995_13454.cpp: At global scope:
0_0_25725995_13454.cpp:139:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_25725995_13454.cpp:145:11: error: redefinition of 'const int maxn'
 const int maxn=10005;
           ^
0_0_25725995_13454.cpp:7:11: note: 'const int maxn' previously defined here
 const int maxn=10005;
           ^
0_0_25725995_13454.cpp:146:13: error: redefinition of 'int dfn [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
             ^
0_0_25725995_13454.cpp:8:5: note: 'int dfn [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
     ^
0_0_25725995_13454.cpp:146:23: error: redefinition of 'int low [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
                       ^
0_0_25725995_13454.cpp:8:15: note: 'int low [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
               ^
0_0_25725995_13454.cpp:146:32: error: redefinition of 'int sz [10005]'
 int dfn[maxn],low[maxn],sz[maxn];
                                ^
0_0_25725995_13454.cpp:8:25: note: 'int sz [10005]' previously declared here
 int dfn[maxn],low[maxn],sz[maxn];
                         ^
0_0_25725995_13454.cpp:147:5: error: redefinition of 'int num'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
     ^
0_0_25725995_13454.cpp:9:5: note: 'int num' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
     ^
0_0_25725995_13454.cpp:147:9: error: redefinition of 'int cnt'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
         ^
0_0_25725995_13454.cpp:9:9: note: 'int cnt' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
         ^
0_0_25725995_13454.cpp:147:24: error: redefinition of 'int belong [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                        ^
0_0_25725995_13454.cpp:9:13: note: 'int belong [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
             ^
0_0_25725995_13454.cpp:147:33: error: redefinition of 'int in [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                 ^
0_0_25725995_13454.cpp:9:26: note: 'int in [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                          ^
0_0_25725995_13454.cpp:147:43: error: redefinition of 'int out [10005]'
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                           ^
0_0_25725995_13454.cpp:9:35: note: 'int out [10005]' previously declared here
 int num,cnt,belong[maxn],in[maxn],out[maxn];
                                   ^
0_0_25725995_13454.cpp:148:11: error: redefinition of 'std::stack<int> stk'
 stack<int>stk;
           ^
0_0_25725995_13454.cpp:10:11: note: 'std::stack<int> stk' previously declared here
 stack<int>stk;
           ^
0_0_25725995_13454.cpp:149:18: error: redefinition of 'std::vector<int> e [10005]'
 vector<int>e[maxn];
                  ^
0_0_25725995_13454.cpp:11:12: note: 'std::vector<int> e [10005]' previously declared here
 vector<int>e[maxn];
            ^
0_0_25725995_13454.cpp: In function 'void tarjan(int)':
0_0_25725995_13454.cpp:150:6: error: redefinition of 'void tarjan(int)'
 void tarjan(int x){
      ^
0_0_25725995_13454.cpp:12:6: note: 'void tarjan(int)' previously defined here
 void tarjan(int x){
      ^
0_0_25725995_13454.cpp: In function 'int main()':
0_0_25725995_13454.cpp:174:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_25725995_13454.cpp:36: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-27 00:08:10, Gzip enabled