0_0_20698606_31155.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <iostream>
^
0_0_20698606_31155.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_20698606_31155.cpp:3:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_20698606_31155.cpp:3:21: error: expected identifier before '&' token
using namespace std;
^
0_0_20698606_31155.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20698606_31155.cpp:3:27: error: 'std' does not name a type
using namespace std;
^
0_0_20698606_31155.cpp:3:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20698606_31155.cpp:3:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20698606_31155.cpp:4:7: error: expected identifier before '&' token
struct Trie
^
0_0_20698606_31155.cpp:4:12: error: invalid type in declaration before ';' token
struct Trie
^
0_0_20698606_31155.cpp:4:12: error: 'nbsp' declared as reference but not initialized
0_0_20698606_31155.cpp:4:13: error: 'Trie' does not name a type
struct Trie
^
0_0_20698606_31155.cpp:4:28: error: expected constructor, destructor, or type conversion before ';' token
struct Trie
^
0_0_20698606_31155.cpp:5:1: error: expected unqualified-id before '{' token
{
^
0_0_20698606_31155.cpp:8:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20698606_31155.cpp:8:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20698606_31155.cpp:9:1: error: 'Trie' does not name a type
Trie root;
^
0_0_20698606_31155.cpp:9:11: error: 'root' does not name a type
Trie root;
^
0_0_20698606_31155.cpp:9:21: error: expected constructor, destructor, or type conversion before ';' token
Trie root;
^
0_0_20698606_31155.cpp:9:27: error: expected constructor, destructor, or type conversion before ';' token
Trie root;
^
0_0_20698606_31155.cpp:10:6: error: cannot declare reference to 'void'
void createTrie(char *str)//建立字典树;
^
0_0_20698606_31155.cpp:10:6: error: variable or field 'nbsp' declared void
0_0_20698606_31155.cpp:10:31: error: expected ')' before ';' token
void createTrie(char *str)//建立字典树;
^
0_0_20698606_31155.cpp:10:31: error: expected constructor, destructor, or type conversion before ';' token
0_0_20698606_31155.cpp:10:36: error: expected constructor, destructor, or type conversion before ')' token
void createTrie(char *str)//建立字典树;
^
|