apple.cpp: In function 'int querySegmentTree(std::vector<Node>&, int, int, int)':
apple.cpp:54:87: error: expected primary-expression at end of input
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
| ^
apple.cpp:54:88: error: expected ';' at end of input
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
| ~^
| ;
apple.cpp:54:87: error: expected '}' at end of input
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
| ^
apple.cpp:53:16: note: to match this '{'
53 | } else {
| ^
apple.cpp:54: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
|
apple.cpp:54:87: error: expected '}' at end of input
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
| ^
apple.cpp:47:12: note: to match this '{'
47 | } else {
| ^
apple.cpp:54:87: error: expected '}' at end of input
54 | return querySegmentTree(tree, 2 * node, left, mid) + querySegmentTree(tree,
| ^
apple.cpp:44:73: note: to match this '{'
44 | int querySegmentTree(vector<Node>& tree, int node, int left, int right) {
| ^