Problem | prefixsums |
---|---|
User | Blender |
Submission Time | 2024-04-04 10:06:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘long long unsigned int sum(long long unsigned int*, long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)’:
prefixsums.cpp:41:59: error: lvalue required as left operand of assignment
41 | if ( queryStart == currentVertexRangeStart && queryEnd = currentVertexRangeEnd )
| ^~~~~~~~~~~~~~~~~~~~~
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:55:2: error: ‘Node’ was not declared in this scope
55 | Node tree[4*N];
| ^~~~
prefixsums.cpp:63:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
63 | build( tree, numbers, 1, 0, N-1 );
| ^~~~
| free
prefixsums.cpp: At global scope:
prefixsums.cpp:71:1: error: expected declaration before ‘}’ token
71 | }
| ^