0_0_19755299_1825.cpp:6:8: error: macro names must be identifiers
#define N 500006
^
0_0_19755299_1825.cpp:7:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_19755299_1825.cpp:7:21: error: expected identifier before '&' token
using namespace std;
^
0_0_19755299_1825.cpp:7:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19755299_1825.cpp:7:27: error: 'std' does not name a type
using namespace std;
^
0_0_19755299_1825.cpp:7:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19755299_1825.cpp:7:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19755299_1825.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:9:6: error: 'nbsp' declared as reference but not initialized
char st[1000005];
^
0_0_19755299_1825.cpp:9:11: error: 'st' does not name a type
char st[1000005];
^
0_0_19755299_1825.cpp:9:28: error: expected constructor, destructor, or type conversion before ';' token
char st[1000005];
^
0_0_19755299_1825.cpp:9:34: error: expected constructor, destructor, or type conversion before ';' token
char st[1000005];
^
0_0_19755299_1825.cpp:10:6: error: redefinition of 'char& nbsp'
char keyword[55];
^
0_0_19755299_1825.cpp:9:6: note: 'char& nbsp' previously declared here
char st[1000005];
^
0_0_19755299_1825.cpp:10:11: error: 'keyword' does not name a type
char keyword[55];
^
0_0_19755299_1825.cpp:10:28: error: expected constructor, destructor, or type conversion before ';' token
char keyword[55];
^
0_0_19755299_1825.cpp:10:34: error: expected constructor, destructor, or type conversion before ';' token
char keyword[55];
^
0_0_19755299_1825.cpp:11:5: error: conflicting declaration 'int& nbsp'
int n,m;
^
0_0_19755299_1825.cpp:9:6: note: previous declaration as 'char& nbsp'
char st[1000005];
^
0_0_19755299_1825.cpp:11:10: error: 'n' does not name a type
int n,m;
^
0_0_19755299_1825.cpp:11:19: error: expected constructor, destructor, or type conversion before ';' token
int n,m;
^
0_0_19755299_1825.cpp:11:25: error: expected constructor, destructor, or type conversion before ';' token
int n,m;
^
0_0_19755299_1825.cpp:12:5: error: conflicting declaration 'int& nbsp'
int next[N][26],cnt[N],fail[N],pos;
^
0_0_19755299_1825.cpp:9:6: note: previous declaration as 'char& nbsp'
char st[1000005];
^
0_0_19755299_1825.cpp:12:10: error: 'next' does not name a type
int next[N][26],cnt[N],fail[N],pos;
^
0_0_19755299_1825.cpp:12:46: error: expected constructor, destructor, or type conversion before ';' token
int next[N][26],cnt[N],fail[N],pos;
^
0_0_19755299_1825.cpp:12:52: error: expected constructor, destructor, or type conversion before ';' token
int next[N][26],cnt[N],fail[N],pos;
^
0_0_19755299_1825.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:13:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:14:5: error: conflicting declaration 'int& nbsp'
int newnode()
^
0_0_19755299_1825.cpp:9:6: note: previous declaration as 'char& nbsp'
char st[1000005];
^
0_0_19755299_1825.cpp:14:20: error: expected constructor, destructor, or type conversion before 'nbsp'
int newnode()
^
0_0_19755299_1825.cpp:14:30: error: expected constructor, destructor, or type conversion before ';' token
int newnode()
^
0_0_19755299_1825.cpp:15:1: error: expected unqualified-id before '{' token
{
^
0_0_19755299_1825.cpp:19:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19755299_1825.cpp:19:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19755299_1825.cpp:20:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:20:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19755299_1825.cpp:21:6: error: cannot declare reference to 'void'
void insert(char *s) //构造trie
^
0_0_19755299_1825.cpp:21:6: error: variable or field 'nbsp' declared void
0_0_19755299_1825.cpp:21:27: error: expected ')' before ';' token
void insert(char *s) //构造trie
^
0_0_19755299_1825.cpp:21:27: error: expected constructor, destructor, or type conversion before ';' token
0_0_19755299_1825.cpp:21:30: error: expected constructor, destructor, or type conversion before ')' token
void insert(char *s) //构造trie
^
0_0_19755299_1825.cpp:22:1: error: expected unqualified-id before '{' token
{
^
|