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_21468470_5849.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:10:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:14:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:17:8: error: redeclaration of 'int& Node::nbsp'
     int nxt[2],gcnt;
        ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:17:14: error: redeclaration of 'int& Node::nbsp'
     int nxt[2],gcnt;
              ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:17:20: error: redeclaration of 'int& Node::nbsp'
     int nxt[2],gcnt;
                    ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:18:2: error: redeclaration of 'int& Node::nbsp'
     ll ng;
  ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:18:8: error: redeclaration of 'int& Node::nbsp'
     ll ng;
        ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:18:14: error: redeclaration of 'int& Node::nbsp'
     ll ng;
              ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:18:20: error: redeclaration of 'int& Node::nbsp'
     ll ng;
                    ^
0_0_21468470_5849.cpp:17:2: note: previous declaration 'int& Node::nbsp'
     int nxt[2],gcnt;
  ^
0_0_21468470_5849.cpp:19:3: error: 'nbsp' declared as reference but not initialized
 }   tree[M*N];
   ^
0_0_21468470_5849.cpp:19:13: error: expected constructor, destructor, or type conversion before ';' token
 }   tree[M*N];
             ^
0_0_21468470_5849.cpp:19:15: error: 'tree' does not name a type
 }   tree[M*N];
               ^
0_0_21468470_5849.cpp:20:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:24:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp: In function 'void insert()':
0_0_21468470_5849.cpp:30:52: error: 'tree' was not declared in this scope
         if(tree[rt].nxt[s[i]]==0)
                                                    ^
0_0_21468470_5849.cpp:31:73: error: 'tree' was not declared in this scope
             tree[rt].nxt[s[i]]=++tnum;
                                                                         ^
0_0_21468470_5849.cpp: At global scope:
0_0_21468470_5849.cpp:42:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp: In function 'void init()':
0_0_21468470_5849.cpp:45:32: error: 'tree' was not declared in this scope
     memset(tree,0,(n+4)*N*sizeof(Node));
                                ^
0_0_21468470_5849.cpp: At global scope:
0_0_21468470_5849.cpp:50:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:65:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21468470_5849.cpp:79:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^


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