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

Compile Error

hld.cpp: In member function ‘void node::update(long long int, long long int, long long int)’:
hld.cpp:42:8: error: expected primary-expression before ‘.’ token
42 | else{. Your task is to support
| ^
hld.cpp: In member function ‘long long int node::query(long long int, long long int)’:
hld.cpp:53:15: error: expected primary-expression before ‘.’ token
53 | else return . Your task is to supportl->query(x, M) + r->query(M+1, y);
| ^
hld.cpp:53:21: error: expected ‘;’ before ‘task’
53 | else return . Your task is to supportl->query(x, M) + r->query(M+1, y);
| ^~~~~
| ;
hld.cpp:53:22: error: ‘task’ was not declared in this scope
53 | else return . Your task is to supportl->query(x, M) + r->query(M+1, y);
| ^~~~
hld.cpp: In function ‘int32_t main()’:
hld.cpp:131:44: error: no matching function fo