0_0_21055882_10971.cpp:6:8: error: macro names must be identifiers
#define maxn 1005
^
0_0_21055882_10971.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:7:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:8:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21055882_10971.cpp:8:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21055882_10971.cpp:8:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21055882_10971.cpp:8:27: error: 'std' does not name a type
using namespace std;
^
0_0_21055882_10971.cpp:8:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21055882_10971.cpp:8:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21055882_10971.cpp:9:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:9:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:10:6: error: 'nbsp' declared as reference but not initialized
char ans[maxn];
^
0_0_21055882_10971.cpp:10:11: error: 'ans' does not name a type
char ans[maxn];
^
0_0_21055882_10971.cpp:10:26: error: expected constructor, destructor, or type conversion before ';' token
char ans[maxn];
^
0_0_21055882_10971.cpp:10:32: error: expected constructor, destructor, or type conversion before ';' token
char ans[maxn];
^
0_0_21055882_10971.cpp:11:5: error: conflicting declaration 'int& nbsp'
int anslen;
^
0_0_21055882_10971.cpp:10:6: note: previous declaration as 'char& nbsp'
char ans[maxn];
^
0_0_21055882_10971.cpp:11:10: error: 'anslen' does not name a type
int anslen;
^
0_0_21055882_10971.cpp:11:22: error: expected constructor, destructor, or type conversion before ';' token
int anslen;
^
0_0_21055882_10971.cpp:11:28: error: expected constructor, destructor, or type conversion before ';' token
int anslen;
^
0_0_21055882_10971.cpp:12:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:12:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21055882_10971.cpp:13:6: error: cannot declare reference to 'void'
void plus(char s1[],char s2[])
^
0_0_21055882_10971.cpp:13:6: error: variable or field 'nbsp' declared void
0_0_21055882_10971.cpp:13:25: error: expected ')' before ';' token
void plus(char s1[],char s2[])
^
0_0_21055882_10971.cpp:13:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_21055882_10971.cpp:13:26: error: 's1' does not name a type
void plus(char s1[],char s2[])
^
0_0_21055882_10971.cpp:13:41: error: 's2' does not name a type
void plus(char s1[],char s2[])
^
0_0_21055882_10971.cpp:13:57: error: expected constructor, destructor, or type conversion before ';' token
void plus(char s1[],char s2[])
^
0_0_21055882_10971.cpp:14:1: error: expected unqualified-id before '{' token
{
^
|