Problem segmenttree
User Aum
Submission Time 2023-11-10 14:12:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int32_t main()’:
segmenttree.cpp:68:30: error: expected ‘;’ before ‘}’ token
68 | root->update(y,z)
| ^
| ;
69 | } else{
| ~
segmenttree.cpp:70:26: error: expected primary-expression before ‘.’ token
70 | cout << root-.query(y, z)<<"\n"
| ^