Problem | segmenttree |
---|---|
User | Blender |
Submission Time | 2024-04-10 15:24:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp:114:1: error: expected ‘}’ at end of input
114 | }
| ^
segmenttree.cpp:14:1: note: to match this ‘{’
14 | {
| ^
segmenttree.cpp: In constructor ‘Node::Node(long long unsigned int, long long unsigned int)’:
segmenttree.cpp:16:9: error: class ‘Node’ does not have any field named ‘rangeStart’
16 | rangeStart{ rangeStart },
| ^~~~~~~~~~
segmenttree.cpp:17:9: error: class ‘Node’ does not have any field named ‘rangeMiddle’
17 | rangeMiddle{ rangeStart + rangeEnd / 2 },
| ^~~~~~~~~~~
segmenttree.cpp:18:9: error: class ‘Node’ does not have any field named ‘rangeEnd’
18 | rangeEnd{ rangeEnd }
| ^~~~~~~~
segmenttree.cpp:28:15: error: ‘struct Node’ has no member named ‘leftChild’
28 | this->leftChild = new Node( rangeStart, rangeMiddle );
| ^~~~~~~~~
segmenttree.cpp:28:49: error: ‘rangeMiddle’ was not