0_0_24831602_7902.cpp:8:11: error: expected unqualified-id before numeric constant
#define N 100007
^
0_0_24831602_7902.cpp:10:2: note: in expansion of macro 'N'
*N];
^
0_0_24831602_7902.cpp:8:11: error: expected constructor, destructor, or type conversion before numeric constant
#define N 100007
^
0_0_24831602_7902.cpp:10:2: note: in expansion of macro 'N'
*N];
^
0_0_24831602_7902.cpp: In function 'void pushup(int)':
0_0_24831602_7902.cpp:20:6: error: invalid type argument of unary '*' (have 'int')
*rt] == Max[*rt+]) Max[rt] = Max[*rt];
^
0_0_24831602_7902.cpp: In function 'void pushdown(int, int, int)':
0_0_24831602_7902.cpp:25:5: error: expected primary-expression before ')' token
)
^
0_0_24831602_7902.cpp: In function 'void build(int, int, int)':
0_0_24831602_7902.cpp:31:5: error: 'Max' was not declared in this scope
Max[rt] = -;
^
0_0_24831602_7902.cpp:31:16: error: expected primary-expression before ';' token
Max[rt] = -;
^
0_0_24831602_7902.cpp:38:13: error: 'mid' was not declared in this scope
build(l,mid,*rt);
^
0_0_24831602_7902.cpp:38:18: error: invalid type argument of unary '*' (have 'int')
build(l,mid,*rt);
^
0_0_24831602_7902.cpp:39:15: error: expected primary-expression before ',' token
build(mid+,r,*rt+);
^
0_0_24831602_7902.cpp:39:19: error: invalid type argument of unary '*' (have 'int')
build(mid+,r,*rt+);
^
0_0_24831602_7902.cpp:39:22: error: expected primary-expression before ')' token
build(mid+,r,*rt+);
^
0_0_24831602_7902.cpp: In function 'void update(int, int, int, int, int, int, int)':
0_0_24831602_7902.cpp:47:9: error: expected primary-expression before ')' token
)
^
0_0_24831602_7902.cpp:52:9: error: expected '}' before 'else'
else
^
0_0_24831602_7902.cpp:54:13: error: expected primary-expression before ')' token
)
^
0_0_24831602_7902.cpp: At global scope:
0_0_24831602_7902.cpp:62:13: error: expected constructor, destructor, or type conversion before '(' token
pushdown(l,r,rt);
^
0_0_24831602_7902.cpp:64:8: error: expected constructor, destructor, or type conversion before ')' token
*rt);
^
0_0_24831602_7902.cpp:65:5: error: expected unqualified-id before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:7: error: expected constructor, destructor, or type conversion before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:10: error: expected constructor, destructor, or type conversion before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:13: error: expected constructor, destructor, or type conversion before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:17: error: expected constructor, destructor, or type conversion before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:21: error: expected constructor, destructor, or type conversion before ',' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:65:25: error: expected constructor, destructor, or type conversion before '+' token
,r,aa,bb,val,tag,*rt+);
^
0_0_24831602_7902.cpp:66:11: error: expected constructor, destructor, or type conversion before '(' token
pushup(rt);
^
0_0_24831602_7902.cpp:67:1: error: expected declaration before '}' token
}
^
|