Problem segmenttree
User maximushartanto
Submission Time 2025-12-30 22:51:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp:11:1: error: expected unqualified-id before ‘%’ token
11 | %start%
| ^
segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:135:2: error: ‘segtree’ was not declared in this scope
135 | segtree s(n + 1);
| ^~~~~~~
segmenttree.cpp:139:4: error: ‘s’ was not declared in this scope
139 | s.update(x, x, y);
| ^
segmenttree.cpp:142:12: error: ‘s’ was not declared in this scope
142 | cout << s.query(x, y).v << '\n';
| ^