prog.cpp:1:13: error: variable or field 'UpDate' declared void
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:13: error: 'Node' was not declared in this scope
prog.cpp:1:19: error: 'p' was not declared in this scope
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:22: error: expected primary-expression before 'int'
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:29: error: expected primary-expression before 'int'
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:36: error: expected primary-expression before 'int'
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:43: error: expected primary-expression before 'int'
void UpDate(Node *p, int x, int y, int L, int R, w)
^
prog.cpp:1:50: error: 'w' was not declared in this scope
void UpDate(Node *p, int x, int y, int L, int R, w)
^