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_29118354_11530.cpp:62:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_29118354_11530.cpp:62:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_29118354_11530.cpp:67:5: error: redefinition of 'int T'
 int T,n,m,nn;
     ^
0_0_29118354_11530.cpp:6:5: note: 'int T' previously declared here
 int T,n,m,nn;
     ^
0_0_29118354_11530.cpp:67:7: error: redefinition of 'int n'
 int T,n,m,nn;
       ^
0_0_29118354_11530.cpp:6:7: note: 'int n' previously declared here
 int T,n,m,nn;
       ^
0_0_29118354_11530.cpp:67:9: error: redefinition of 'int m'
 int T,n,m,nn;
         ^
0_0_29118354_11530.cpp:6:9: note: 'int m' previously declared here
 int T,n,m,nn;
         ^
0_0_29118354_11530.cpp:67:11: error: redefinition of 'int nn'
 int T,n,m,nn;
           ^
0_0_29118354_11530.cpp:6:11: note: 'int nn' previously declared here
 int T,n,m,nn;
           ^
0_0_29118354_11530.cpp:68:15: error: redefinition of 'int head [40010]'
 int head[40010],dis[40010],deep[40010],fa[40010][21];
               ^
0_0_29118354_11530.cpp:7:5: note: 'int head [40010]' previously declared here
 int head[40010],dis[40010],deep[40010],fa[40010][21];
     ^
0_0_29118354_11530.cpp:68:26: error: redefinition of 'int dis [40010]'
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                          ^
0_0_29118354_11530.cpp:7:17: note: 'int dis [40010]' previously declared here
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                 ^
0_0_29118354_11530.cpp:68:38: error: redefinition of 'int deep [40010]'
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                                      ^
0_0_29118354_11530.cpp:7:28: note: 'int deep [40010]' previously declared here
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                            ^
0_0_29118354_11530.cpp:68:52: error: redefinition of 'int fa [40010][21]'
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                                                    ^
0_0_29118354_11530.cpp:7:40: note: 'int fa [40010][21]' previously declared here
 int head[40010],dis[40010],deep[40010],fa[40010][21];
                                        ^
0_0_29118354_11530.cpp:69:8: error: redefinition of 'struct arr'
 struct arr {
        ^
0_0_29118354_11530.cpp:8:8: error: previous definition of 'struct arr'
 struct arr {
        ^
0_0_29118354_11530.cpp:71:13: error: invalid type in declaration before ';' token
 }edge[80010];
             ^
0_0_29118354_11530.cpp:71:13: error: conflicting declaration 'int edge [80010]'
0_0_29118354_11530.cpp:10:2: note: previous declaration as 'arr edge [80010]'
 }edge[80010];
  ^
0_0_29118354_11530.cpp: In function 'int maxdeep(int)':
0_0_29118354_11530.cpp:72:12: error: redefinition of 'int maxdeep(int)'
 inline int maxdeep(int k) {
            ^
0_0_29118354_11530.cpp:11:12: note: 'int maxdeep(int)' previously defined here
 inline int maxdeep(int k) {
            ^
0_0_29118354_11530.cpp: In function 'int lowbit(int)':
0_0_29118354_11530.cpp:75:12: error: redefinition of 'int lowbit(int)'
 inline int lowbit(int k) {
            ^
0_0_29118354_11530.cpp:14:12: note: 'int lowbit(int)' previously defined here
 inline int lowbit(int k) {
            ^
0_0_29118354_11530.cpp: In function 'void add(int, int, int)':
0_0_29118354_11530.cpp:78:6: error: redefinition of 'void add(int, int, int)'
 void add(int x,int y,int z) {
      ^
0_0_29118354_11530.cpp:17:6: note: 'void add(int, int, int)' previously defined here
 void add(int x,int y,int z) {
      ^
0_0_29118354_11530.cpp: In function 'void dfs(int, int)':
0_0_29118354_11530.cpp:82:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int u,int k) {
      ^
0_0_29118354_11530.cpp:21:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int u,int k) {
      ^
0_0_29118354_11530.cpp: In function 'int lca(int, int)':
0_0_29118354_11530.cpp:91:5: error: redefinition of 'int lca(int, int)'
 int lca(int x,int y) {
     ^
0_0_29118354_11530.cpp:30:5: note: 'int lca(int, int)' previously defined here
 int lca(int x,int y) {
     ^
0_0_29118354_11530.cpp: In function 'int main()':
0_0_29118354_11530.cpp:100:5: error: redefinition of 'int main()'
 int main() { 
     ^
0_0_29118354_11530.cpp:39: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-16 17:15:01, Gzip enabled