Problem segmenttree
User FreedomhawksBANANAA
Submission Time 2023-09-04 12:49:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:10:59: error: a function-definition is not allowed here before ‘{’ token
10 | void updatepoint(int idx, int l, int r, int i, int val) {
| ^
segmenttree.cpp:23:50: error: a function-definition is not allowed here before ‘{’ token
23 | int query(int idx, int l, int r, int x, int y) {
| ^
segmenttree.cpp:33:14: error: a function-definition is not allowed here before ‘{’ token
33 | int main() {
| ^