Problem segmenttree
User Aum
Submission Time 2023-11-10 13:57:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp:17:21: error: stray ‘\342’ in program
17 | val = 1->val + r-›val;
| ^
segmenttree.cpp:17:22: error: stray ‘\200’ in program
17 | val = 1->val + r-›val;
| ^
segmenttree.cpp:17:23: error: stray ‘\272’ in program
17 | val = 1->val + r-›val;
| ^
segmenttree.cpp:23:30: error: stray ‘\342’ in program
23 | else if (S >= m+1) return r-›query (S, E);
| ^
segmenttree.cpp:23:31: error: stray ‘\200’ in program
23 | else if (S >= m+1) return r-›query (S, E);
| ^
segmenttree.cpp:23:32: error: stray ‘\272’ in program
23 | else if (S >= m+1) return r-›query (S, E);
| ^
segmenttree.cpp:24:34: error: stray ‘\342’ in program
24 | else return 1->query (S, m) + r-›query (m+1, E);
|