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_39666500_8072.cpp:127:2: error: stray '#' in program
  127 | }#include <bits/stdc++.h>
      |  ^
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:12: error: 'bits' was not declared in this scope
  127 | }#include <bits/stdc++.h>
      |            ^~~~
0_0_39666500_8072.cpp:127:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
  127 | }#include <bits/stdc++.h>
      |                 ^~~~
      |                 std
0_0_39666500_8072.cpp:127:3: error: 'include' does not name a type
  127 | }#include <bits/stdc++.h>
      |   ^~~~~~~
0_0_39666500_8072.cpp:129:11: error: redefinition of 'const int N'
  129 | const int N = 1e5 + 7;
      |           ^
0_0_39666500_8072.cpp:3:11: note: 'const int N' previously defined here
    3 | const int N = 1e5 + 7;
      |           ^
0_0_39666500_8072.cpp:130:5: error: redefinition of 'int n'
  130 | int n;
      |     ^
0_0_39666500_8072.cpp:4:5: note: 'int n' previously declared here
    4 | int n;
      |     ^
0_0_39666500_8072.cpp:131:11: error: redefinition of 'long long int ans'
  131 | long long ans = 0;
      |           ^~~
0_0_39666500_8072.cpp:5:11: note: 'long long int ans' previously defined here
    5 | long long ans = 0;
      |           ^~~
0_0_39666500_8072.cpp:132:5: error: redefinition of 'int head [100007]'
  132 | int head[N], ver[N << 1], Next[N << 1], tot;
      |     ^~~~
0_0_39666500_8072.cpp:6:5: note: 'int head [100007]' previously declared here
    6 | int head[N], ver[N << 1], Next[N << 1], tot;
      |     ^~~~
0_0_39666500_8072.cpp:132:14: error: redefinition of 'int ver [200014]'
  132 | int head[N], ver[N << 1], Next[N << 1], tot;
      |              ^~~
0_0_39666500_8072.cpp:6:14: note: 'int ver [200014]' previously declared here
    6 | int head[N], ver[N << 1], Next[N << 1], tot;
      |              ^~~
0_0_39666500_8072.cpp:132:27: error: redefinition of 'int Next [200014]'
  132 | int head[N], ver[N << 1], Next[N << 1], tot;
      |                           ^~~~
0_0_39666500_8072.cpp:6:27: note: 'int Next [200014]' previously declared here
    6 | int head[N], ver[N << 1], Next[N << 1], tot;
      |                           ^~~~
0_0_39666500_8072.cpp:132:41: error: redefinition of 'int tot'
  132 | int head[N], ver[N << 1], Next[N << 1], tot;
      |                                         ^~~
0_0_39666500_8072.cpp:6:41: note: 'int tot' previously declared here
    6 | int head[N], ver[N << 1], Next[N << 1], tot;
      |                                         ^~~
0_0_39666500_8072.cpp:133:6: error: redefinition of 'void add_edge(int, int)'
  133 | void add_edge(int x, int y)
      |      ^~~~~~~~
0_0_39666500_8072.cpp:7:6: note: 'void add_edge(int, int)' previously defined here
    7 | void add_edge(int x, int y)
      |      ^~~~~~~~
0_0_39666500_8072.cpp:138:6: error: redefinition of 'bool vis [100007]'
  138 | bool vis[N];
      |      ^~~
0_0_39666500_8072.cpp:12:6: note: 'bool vis [100007]' previously declared here
   12 | bool vis[N];
      |      ^~~
0_0_39666500_8072.cpp:139:5: error: redefinition of 'int siz [100007]'
  139 | int siz[N], mx[N], root, S;
      |     ^~~
0_0_39666500_8072.cpp:13:5: note: 'int siz [100007]' previously declared here
   13 | int siz[N], mx[N], root, S;
      |     ^~~
0_0_39666500_8072.cpp:139:13: error: redefinition of 'int mx [100007]'
  139 | int siz[N], mx[N], root, S;
      |             ^~
0_0_39666500_8072.cpp:13:13: note: 'int mx [100007]' previously declared here
   13 | int siz[N], mx[N], root, S;
      |             ^~
0_0_39666500_8072.cpp:139:20: error: redefinition of 'int root'
  139 | int siz[N], mx[N], root, S;
      |                    ^~~~
0_0_39666500_8072.cpp:13:20: note: 'int root' previously declared here
   13 | int siz[N], mx[N], root, S;
      |                    ^~~~
0_0_39666500_8072.cpp:139:26: error: redefinition of 'int S'
  139 | int siz[N], mx[N], root, S;
      |                          ^
0_0_39666500_8072.cpp:13:26: note: 'int S' previously declared here
   13 | int siz[N], mx[N], root, S;
      |                          ^
0_0_39666500_8072.cpp:140:6: error: redefinition of 'void find(int, int)'
  140 | void find(int x, int fa)
      |      ^~~~
0_0_39666500_8072.cpp:14:6: note: 'void find(int, int)' previously defined here
   14 | void find(int x, int fa)
      |      ^~~~
0_0_39666500_8072.cpp:154:5: error: redefinition of 'int s [100007]'
  154 | int s[N], inx;
      |     ^
0_0_39666500_8072.cpp:28:5: note: 'int s [100007]' previously declared here
   28 | int s[N], inx;
      |     ^
0_0_39666500_8072.cpp:154:11: error: redefinition of 'int inx'
  154 | int s[N], inx;
      |           ^~~
0_0_39666500_8072.cpp:28:11: note: 'int inx' previously declared here
   28 | int s[N], inx;
      |           ^~~
0_0_39666500_8072.cpp:155:20: error: redefinition of 'std::tuple<int, int, int> col [100007]'
  155 | tuple<int,int,int> col[N];
      |                    ^~~
0_0_39666500_8072.cpp:29:20: note: 'std::tuple<int, int, int> col [100007]' previously defined here
   29 | tuple<int,int,int> col[N];
      |                    ^~~
0_0_39666500_8072.cpp:156:20: error: redefinition of 'std::tuple<int, int, int> add(std::tuple<int, int, int>, std::tuple<int, int, int>)'
  156 | tuple<int,int,int> add(tuple<int,int,int> a,tuple<int,int,int> b)
      |                    ^~~
0_0_39666500_8072.cpp:30:20: note: 'std::tuple<int, int, int> add(std::tuple<int, int, int>, std::tuple<int, int, int>)' previously defined here
   30 | tuple<int,int,int> add(tuple<int,int,int> a,tuple<int,int,int> b)
      |                    ^~~
0_0_39666500_8072.cpp:161:20: error: redefinition of 'std::tuple<int, int, int> dis [100007]'
  161 | tuple<int,int,int> dis[N];
      |                    ^~~
0_0_39666500_8072.cpp:35:20: note: 'std::tuple<int, int, int> dis [100007]' previously defined here
   35 | tuple<int,int,int> dis[N];
      |                    ^~~
0_0_39666500_8072.cpp:162:6: error: redefinition of 'void get_dis(int, int, std::tuple<int, int, int>)'
  162 | void get_dis(int x, int fa, tuple<int,int,int> dist)
      |      ^~~~~~~
0_0_39666500_8072.cpp:36:6: note: 'void get_dis(int, int, std::tuple<int, int, int>)' previously defined here
   36 | void get_dis(int x, int fa, tuple<int,int,int> dist)
      |      ^~~~~~~
0_0_39666500_8072.cpp:173:6: error: redefinition of 'void calc(int)'
  173 | void calc(int x)
      |      ^~~~
0_0_39666500_8072.cpp:47:6: note: 'void calc(int)' previously defined here
   47 | void calc(int x)
      |      ^~~~
0_0_39666500_8072.cpp:208:6: error: redefinition of 'void div(int)'
  208 | void div(int x)
      |      ^~~
0_0_39666500_8072.cpp:82:6: note: 'void div(int)' previously defined here
   82 | void div(int x)
      |      ^~~
0_0_39666500_8072.cpp:222:6: error: redefinition of 'void solve()'
  222 | void solve()
      |      ^~~~~
0_0_39666500_8072.cpp:96:6: note: 'void solve()' previously defined here
   96 | void solve()
      |      ^~~~~
0_0_39666500_8072.cpp:246:5: error: redefinition of 'int main()'
  246 | int main()
      |     ^~~~
0_0_39666500_8072.cpp:120:5: note: 'int main()' previously defined here
  120 | int 


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 02:43:21, Gzip enabled