Problem hld
User zyq69
Submission Time 2024-12-18 16:57:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hld.cpp:33:28: error: ‘i’ has not been declared
33 | void update(int x, int y, i. Your task is to supportnt k){
| ^
hld.cpp:33:29: error: expected ‘,’ or ‘...’ before ‘.’ token
33 | void update(int x, int y, i. Your task is to supportnt k){
| ^
hld.cpp: In member function ‘void node::update(long long int, long long int, int)’:
hld.cpp:35:12: error: ‘k’ was not declared in this scope
35 | ladd += k;
| ^
hld.cpp:40:30: error: ‘k’ was not declared in this scope
40 | if(y <= M) l->update(x, y, k);
| ^
hld.cpp:41:34: error: ‘k’ was not declared in this scope
41 | else if(x > M) r->update(x, y, k);
| ^
hld.cpp:42:8: error: expected primary-expression before ‘.’ token
42 | else{. Your task is to support
| ^
hld.cpp:44:22: error: