0_0_13467776_13636.cpp:4:8: error: macro names must be identifiers
#define N 200010
^
0_0_13467776_13636.cpp:5:8: error: macro names must be identifiers
#define MIN -0xFFFFFFF
^
0_0_13467776_13636.cpp:2:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_13467776_13636.cpp:2:21: error: expected identifier before '&' token
using namespace std;
^
0_0_13467776_13636.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_13467776_13636.cpp:2:27: error: 'std' does not name a type
using namespace std;
^
0_0_13467776_13636.cpp:6:7: error: expected identifier before '&' token
struct Node{
^
0_0_13467776_13636.cpp:6:12: error: invalid type in declaration before ';' token
struct Node{
^
0_0_13467776_13636.cpp:6:12: error: 'nbsp' declared as reference but not initialized
0_0_13467776_13636.cpp:6:13: error: 'Node' does not name a type
struct Node{
^
0_0_13467776_13636.cpp:9:2: error: 'Tree' does not name a type
}Tree[2*N];
^
0_0_13467776_13636.cpp:10:5: error: redefinition of 'int& nbsp'
int Len;
^
0_0_13467776_13636.cpp:6:8: note: 'int& nbsp' previously declared here
struct Node{
^
0_0_13467776_13636.cpp:10:10: error: 'Len' does not name a type
int Len;
^
0_0_13467776_13636.cpp:11:5: error: redefinition of 'int& nbsp'
int MAX;
^
0_0_13467776_13636.cpp:6:8: note: 'int& nbsp' previously declared here
struct Node{
^
0_0_13467776_13636.cpp:11:10: error: 'MAX' does not name a type
int MAX;
^
0_0_13467776_13636.cpp:12:6: error: cannot declare reference to 'void'
void build(int left,int right){
^
0_0_13467776_13636.cpp:12:6: error: variable or field 'nbsp' declared void
0_0_13467776_13636.cpp:12:25: error: expected ')' before ';' token
void build(int left,int right){
^
0_0_13467776_13636.cpp:12:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_13467776_13636.cpp:12:26: error: 'left' does not name a type
void build(int left,int right){
^
0_0_13467776_13636.cpp:12:40: error: 'right' does not name a type
void build(int left,int right){
^
0_0_13467776_13636.cpp:27:6: error: cannot declare reference to 'void'
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:27:6: error: variable or field 'nbsp' declared void
0_0_13467776_13636.cpp:27:26: error: expected ')' before ';' token
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:27:26: error: expected constructor, destructor, or type conversion before ';' token
0_0_13467776_13636.cpp:27:27: error: 'Num' does not name a type
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:27:40: error: 'left' does not name a type
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:27:54: error: 'right' does not name a type
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:27:69: error: 'col' does not name a type
void insert(int Num,int left,int right,int col){
^
0_0_13467776_13636.cpp:56:6: error: cannot declare reference to 'void'
void query(int Num,int left,int right){
^
0_0_13467776_13636.cpp:56:6: error: variable or field 'nbsp' declared void
0_0_13467776_13636.cpp:56:25: error: expected ')' before ';' token
void query(int Num,int left,int right){
^
0_0_13467776_13636.cpp:56:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_13467776_13636.cpp:56:26: error: 'Num' does not name a type
void query(int Num,int left,int right){
^
0_0_13467776_13636.cpp:56:39: error: 'left' does not name a type
void query(int Num,int left,int right){
^
0_0_13467776_13636.cpp:56:53: error: 'right' does not name a type
void query(int Num,int left,int right){
^
0_0_13467776_13636.cpp:70:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_13467776_13636.cpp:6:8: note: 'int& nbsp' previously declared here
struct Node{
^
0_0_13467776_13636.cpp: In function 'int main()':
0_0_13467776_13636.cpp:72:29: error: 'nbsp' declared as reference but not initialized
int n,m;
^
0_0_13467776_13636.cpp:72:34: error: 'n' was not declared in this scope
int n,m;
^
0_0_13467776_13636.cpp:72:36: error: 'm' was not declared in this scope
int n,m;
^
0_0_13467776_13636.cpp:74:49: error: 'Len' was not declared in this scope
Len=0;
^
0_0_13467776_13636.cpp:75:58: error: 'build' was not declared in this scope
build(0,n);
^
0_0_13467776_13636.cpp:76:53: error: 'nbsp' declared as reference but not initialized
int a,b;
^
0_0_13467776_13636.cpp:76:58: error: 'a' was not declared in this scope
int a,b;
^
0_0_13467776_13636.cpp:76:60: error: 'b' was not declared in this scope
int a,b;
^
0_0_13467776_13636.cpp:77:54: error: conflicting declaration 'char& nbsp'
char c;
^
0_0_13467776_13636.cpp:76:53: note: previous declaration as 'int& nbsp'
int a,b;
^
0_0_13467776_13636.cpp:77:59: error: 'c' was not declared in this scope
char c;
^
0_0_13467776_13636.cpp:78:57: error: 'nbsp' declared as reference but not initialized
for(int i=1;i<=n;++i){
^
0_0_13467776_13636.cpp:78:62: error: 'i' was not declared in this scope
for(int i=1;i<=n;++i){
^
0_0_13467776_13636.cpp:78:70: error: expected ')' before ';' token
for(int i=1;i<=n;++i){
^
0_0_13467776_13636.cpp:78:73: error: 'i' was not declared in this scope
for(int i=1;i<=n;++i){
^
0_0_13467776_13636.cpp:83:57: error: 'nbsp' declared as reference but not initialized
for(int i=0;i<m;++i){
^
0_0_13467776_13636.cpp:83:69: error: expected ')' before ';' token
for(int i=0;i<m;++i){
^
0_0_13467776_13636.cpp:93:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
return 0;
^
|