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_20698594_7483.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_20698594_7483.cpp:8:8: error: redeclaration of 'int& Trie_Node::nbsp'
     bool isWord;
        ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:8:14: error: redeclaration of 'int& Trie_Node::nbsp'
     bool isWord;
              ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:8:20: error: redeclaration of 'int& Trie_Node::nbsp'
     bool isWord;
                    ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:9:2: error: redeclaration of 'int& Trie_Node::nbsp'
     struct Trie_Node *next[MAX];
  ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:9:8: error: redeclaration of 'int& Trie_Node::nbsp'
     struct Trie_Node *next[MAX];
        ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:9:14: error: redeclaration of 'int& Trie_Node::nbsp'
     struct Trie_Node *next[MAX];
              ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:9:20: error: redeclaration of 'int& Trie_Node::nbsp'
     struct Trie_Node *next[MAX];
                    ^
0_0_20698594_7483.cpp:8:2: note: previous declaration 'int& Trie_Node::nbsp'
     bool isWord;
  ^
0_0_20698594_7483.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_20698594_7483.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_20698594_7483.cpp:14:36: error: expected initializer before 'nbsp'
 void insert(Trie *root,char *word)      //插入单词 
                                    ^
0_0_20698594_7483.cpp:14:46: error: expected constructor, destructor, or type conversion before ';' token
 void insert(Trie *root,char *word)      //插入单词 
                                              ^
0_0_20698594_7483.cpp:14:52: error: expected constructor, destructor, or type conversion before ';' token
 void insert(Trie *root,char *word)      //插入单词 
                                                    ^
0_0_20698594_7483.cpp:14:58: error: expected constructor, destructor, or type conversion before ';' token
 void insert(Trie *root,char *word)      //插入单词 
                                                          ^
0_0_20698594_7483.cpp:14:64: error: expected constructor, destructor, or type conversion before ';' token
 void insert(Trie *root,char *word)      //插入单词 
                                                                ^
0_0_20698594_7483.cpp:15:1: error: expected unqualified-id 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-07-09 04:34:37, Gzip enabled