Problem segmenttree2
User PlayVoltz
Submission Time 2023-07-06 20:44:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp: In function ‘int main()’:
segmenttree2.cpp:51:37: error: ‘globalarray’ was not declared in this scope
51 | segmenttree = malloc(n*4 * sizeof(*globalarray));
| ^~~~~~~~~~~