0_0_19729154_13257.cpp:8:8: error: macro names must be identifiers
#define MAXN 30
^
0_0_19729154_13257.cpp:7:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_19729154_13257.cpp:7:21: error: expected identifier before '&' token
using namespace std;
^
0_0_19729154_13257.cpp:7:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19729154_13257.cpp:7:27: error: 'std' does not name a type
using namespace std;
^
0_0_19729154_13257.cpp:7:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19729154_13257.cpp:7:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_19729154_13257.cpp:9:5: error: 'nbsp' declared as reference but not initialized
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:9:10: error: 'pre' does not name a type
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:9:26: error: 'in' does not name a type
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:9:41: error: 'out' does not name a type
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:9:56: error: expected constructor, destructor, or type conversion before ';' token
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:9:62: error: expected constructor, destructor, or type conversion before ';' token
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:10:6: error: conflicting declaration 'bool& nbsp'
bool visit[MAXN];
^
0_0_19729154_13257.cpp:9:5: note: previous declaration as 'int& nbsp'
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:10:11: error: 'visit' does not name a type
bool visit[MAXN];
^
0_0_19729154_13257.cpp:10:28: error: expected constructor, destructor, or type conversion before ';' token
bool visit[MAXN];
^
0_0_19729154_13257.cpp:10:34: error: expected constructor, destructor, or type conversion before ';' token
bool visit[MAXN];
^
0_0_19729154_13257.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:12:5: error: redefinition of 'int& nbsp'
int find(int x)
^
0_0_19729154_13257.cpp:9:5: note: 'int& nbsp' previously declared here
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:12:23: error: expected ')' before ';' token
int find(int x)
^
0_0_19729154_13257.cpp:12:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_19729154_13257.cpp:12:24: error: 'x' does not name a type
int find(int x)
^
0_0_19729154_13257.cpp:12:37: error: expected constructor, destructor, or type conversion before ';' token
int find(int x)
^
0_0_19729154_13257.cpp:13:1: error: expected unqualified-id before '{' token
{
^
0_0_19729154_13257.cpp:15:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19729154_13257.cpp:15:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19729154_13257.cpp:16:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:16:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:17:6: error: cannot declare reference to 'void'
void join(int x, int y)
^
0_0_19729154_13257.cpp:17:6: error: variable or field 'nbsp' declared void
0_0_19729154_13257.cpp:17:24: error: expected ')' before ';' token
void join(int x, int y)
^
0_0_19729154_13257.cpp:17:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_19729154_13257.cpp:17:25: error: 'x' does not name a type
void join(int x, int y)
^
0_0_19729154_13257.cpp:17:37: error: redefinition of 'int& nbsp'
void join(int x, int y)
^
0_0_19729154_13257.cpp:9:5: note: 'int& nbsp' previously declared here
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:17:42: error: 'y' does not name a type
void join(int x, int y)
^
0_0_19729154_13257.cpp:17:55: error: expected constructor, destructor, or type conversion before ';' token
void join(int x, int y)
^
0_0_19729154_13257.cpp:18:1: error: expected unqualified-id before '{' token
{
^
0_0_19729154_13257.cpp:24:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19729154_13257.cpp:24:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_19729154_13257.cpp:25:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:25:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_19729154_13257.cpp:26:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_19729154_13257.cpp:9:5: note: 'int& nbsp' previously declared here
int pre[MAXN], in[MAXN], out[MAXN];
^
0_0_19729154_13257.cpp:26:17: error: expected constructor, destructor, or type conversion before 'nbsp'
int main()
^
0_0_19729154_13257.cpp:26:27: error: expected constructor, destructor, or type conversion before ';' token
int main()
^
0_0_19729154_13257.cpp:27:1: error: expected unqualified-id before '{' token
{
^
|