0_0_21020100_18536.cpp:5:8: error: macro names must be identifiers
#define N 100300
^
0_0_21020100_18536.cpp:6:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21020100_18536.cpp:6:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21020100_18536.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020100_18536.cpp:6:27: error: 'std' does not name a type
using namespace std;
^
0_0_21020100_18536.cpp:6:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020100_18536.cpp:6:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020100_18536.cpp:7:6: error: expected identifier before '&' token
class node
^
0_0_21020100_18536.cpp:7:11: error: invalid type in declaration before ';' token
class node
^
0_0_21020100_18536.cpp:7:11: error: 'nbsp' declared as reference but not initialized
0_0_21020100_18536.cpp:7:12: error: 'node' does not name a type
class node
^
0_0_21020100_18536.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
class node
^
0_0_21020100_18536.cpp:8:1: error: expected unqualified-id before '{' token
{
^
0_0_21020100_18536.cpp:11:2: error: 'root' does not name a type
}root[N<<2];
^
0_0_21020100_18536.cpp:11:18: error: expected constructor, destructor, or type conversion before ';' token
}root[N<<2];
^
0_0_21020100_18536.cpp:11:24: error: expected constructor, destructor, or type conversion before ';' token
}root[N<<2];
^
0_0_21020100_18536.cpp:12:6: error: expected identifier before '&' token
class A
^
0_0_21020100_18536.cpp:12:11: error: invalid type in declaration before ';' token
class A
^
0_0_21020100_18536.cpp:12:11: error: redefinition of 'int& nbsp'
0_0_21020100_18536.cpp:7:7: note: 'int& nbsp' previously declared here
class node
^
0_0_21020100_18536.cpp:12:12: error: 'A' does not name a type
class A
^
0_0_21020100_18536.cpp:12:24: error: expected constructor, destructor, or type conversion before ';' token
class A
^
0_0_21020100_18536.cpp:13:1: error: expected unqualified-id before '{' token
{
^
0_0_21020100_18536.cpp:16:2: error: 'q' does not name a type
}q[N];
^
0_0_21020100_18536.cpp:16:12: error: expected constructor, destructor, or type conversion before ';' token
}q[N];
^
0_0_21020100_18536.cpp:16:18: error: expected constructor, destructor, or type conversion before ';' token
}q[N];
^
0_0_21020100_18536.cpp:17:6: error: conflicting declaration 'bool& nbsp'
bool cmp(A a,A b)
^
0_0_21020100_18536.cpp:7:7: note: previous declaration as 'int& nbsp'
class node
^
0_0_21020100_18536.cpp:17:14: error: expected constructor, destructor, or type conversion before '(' token
bool cmp(A a,A b)
^
0_0_21020100_18536.cpp:17:22: error: 'a' does not name a type
bool cmp(A a,A b)
^
0_0_21020100_18536.cpp:17:31: error: 'b' does not name a type
bool cmp(A a,A b)
^
0_0_21020100_18536.cpp:17:44: error: expected constructor, destructor, or type conversion before ';' token
bool cmp(A a,A b)
^
0_0_21020100_18536.cpp:18:1: error: expected unqualified-id before '{' token
{
^
0_0_21020100_18536.cpp:20:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020100_18536.cpp:20:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020100_18536.cpp:21:6: error: cannot declare reference to 'void'
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:21:6: error: variable or field 'nbsp' declared void
0_0_21020100_18536.cpp:21:25: error: expected ')' before ';' token
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:21:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_21020100_18536.cpp:21:26: error: 't' does not name a type
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:21:37: error: 'l' does not name a type
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:21:48: error: 'r' does not name a type
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:21:61: error: expected constructor, destructor, or type conversion before ';' token
void build(int t,int l,int r)
^
0_0_21020100_18536.cpp:22:1: error: expected unqualified-id before '{' token
{
^
|