Problem segmenttree
User Aum
Submission Time 2023-11-10 14:00:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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