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_17624710_24033.cpp:99:2: error: stray '#' in program
 }#include<set>
  ^
0_0_17624710_24033.cpp:99:3: error: 'include' does not name a type
 }#include<set>
   ^
0_0_17624710_24033.cpp: In function 'int IN()':
0_0_17624710_24033.cpp:123:5: error: redefinition of 'int IN()'
 int IN(){
     ^
0_0_17624710_24033.cpp:25:5: note: 'int IN()' previously defined here
 int IN(){
     ^
0_0_17624710_24033.cpp: At global scope:
0_0_17624710_24033.cpp:134:11: error: redefinition of 'const int N'
 const int N=100000+19;
           ^
0_0_17624710_24033.cpp:36:11: note: 'const int N' previously defined here
 const int N=100000+19;
           ^
0_0_17624710_24033.cpp:135:11: error: redefinition of 'const int M'
 const int M=1000000+19;
           ^
0_0_17624710_24033.cpp:37:11: note: 'const int M' previously defined here
 const int M=1000000+19;
           ^
0_0_17624710_24033.cpp:137:8: error: redefinition of 'struct edge'
 struct edge{
        ^
0_0_17624710_24033.cpp:39:8: error: previous definition of 'struct edge'
 struct edge{
        ^
0_0_17624710_24033.cpp:139:7: error: invalid type in declaration before ';' token
 } e[M];
       ^
0_0_17624710_24033.cpp:139:7: error: conflicting declaration 'int e [1000019]'
0_0_17624710_24033.cpp:41:3: note: previous declaration as 'edge e [1000019]'
 } e[M];
   ^
0_0_17624710_24033.cpp:141:8: error: redefinition of 'struct Edge'
 struct Edge{
        ^
0_0_17624710_24033.cpp:43:8: error: previous definition of 'struct Edge'
 struct Edge{
        ^
0_0_17624710_24033.cpp:143:9: error: invalid type in declaration before ';' token
 } E[N*2];
         ^
0_0_17624710_24033.cpp:143:9: error: conflicting declaration 'int E [200038]'
0_0_17624710_24033.cpp:45:3: note: previous declaration as 'Edge E [200038]'
 } E[N*2];
   ^
0_0_17624710_24033.cpp:145:7: error: redefinition of 'll s [100019]'
 ll s[N];
       ^
0_0_17624710_24033.cpp:47:4: note: 'll s [100019]' previously declared here
 ll s[N];
    ^
0_0_17624710_24033.cpp:146:10: error: redefinition of 'int las [100019]'
 int las[N],c[N],fa[N];
          ^
0_0_17624710_24033.cpp:48:5: note: 'int las [100019]' previously declared here
 int las[N],c[N],fa[N];
     ^
0_0_17624710_24033.cpp:146:15: error: redefinition of 'int c [100019]'
 int las[N],c[N],fa[N];
               ^
0_0_17624710_24033.cpp:48:12: note: 'int c [100019]' previously declared here
 int las[N],c[N],fa[N];
            ^
0_0_17624710_24033.cpp:146:21: error: redefinition of 'int fa [100019]'
 int las[N],c[N],fa[N];
                     ^
0_0_17624710_24033.cpp:48:17: note: 'int fa [100019]' previously declared here
 int las[N],c[N],fa[N];
                 ^
0_0_17624710_24033.cpp:147:8: error: redefinition of 'int Q [1000019]'
 int Q[M],val[M];
        ^
0_0_17624710_24033.cpp:49:5: note: 'int Q [1000019]' previously declared here
 int Q[M],val[M];
     ^
0_0_17624710_24033.cpp:147:15: error: redefinition of 'int val [1000019]'
 int Q[M],val[M];
               ^
0_0_17624710_24033.cpp:49:10: note: 'int val [1000019]' previously declared here
 int Q[M],val[M];
          ^
0_0_17624710_24033.cpp:148:5: error: redefinition of 'int n'
 int n,m,cnt;
     ^
0_0_17624710_24033.cpp:50:5: note: 'int n' previously declared here
 int n,m,cnt;
     ^
0_0_17624710_24033.cpp:148:7: error: redefinition of 'int m'
 int n,m,cnt;
       ^
0_0_17624710_24033.cpp:50:7: note: 'int m' previously declared here
 int n,m,cnt;
       ^
0_0_17624710_24033.cpp:148:9: error: redefinition of 'int cnt'
 int n,m,cnt;
         ^
0_0_17624710_24033.cpp:50:9: note: 'int cnt' previously declared here
 int n,m,cnt;
         ^
0_0_17624710_24033.cpp:149:4: error: redefinition of 'll res'
 ll res,sum;
    ^
0_0_17624710_24033.cpp:51:4: note: 'll res' previously declared here
 ll res,sum;
    ^
0_0_17624710_24033.cpp:149:8: error: redefinition of 'll sum'
 ll res,sum;
        ^
0_0_17624710_24033.cpp:51:8: note: 'll sum' previously declared here
 ll res,sum;
        ^
0_0_17624710_24033.cpp: In function 'void Link(int, int, int)':
0_0_17624710_24033.cpp:151:6: error: redefinition of 'void Link(int, int, int)'
 void Link(int x,int y,int z){
      ^
0_0_17624710_24033.cpp:53:6: note: 'void Link(int, int, int)' previously defined here
 void Link(int x,int y,int z){
      ^
0_0_17624710_24033.cpp: In function 'int getf(int)':
0_0_17624710_24033.cpp:155:5: error: redefinition of 'int getf(int)'
 int getf(int x){
     ^
0_0_17624710_24033.cpp:57:5: note: 'int getf(int)' previously defined here
 int getf(int x){
     ^
0_0_17624710_24033.cpp: In function 'void dfs(int, int)':
0_0_17624710_24033.cpp:158:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int x,int fa){
      ^
0_0_17624710_24033.cpp:60:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int x,int fa){
      ^
0_0_17624710_24033.cpp: In function 'void Main()':
0_0_17624710_24033.cpp:171:6: error: redefinition of 'void Main()'
 void Main(){
      ^
0_0_17624710_24033.cpp:73:6: note: 'void Main()' previously defined here
 void Main(){
      ^
0_0_17624710_24033.cpp: In function 'int main()':
0_0_17624710_24033.cpp:195:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17624710_24033.cpp:97: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-26 13:24:34, Gzip enabled