Problem | segmenttree2 |
---|---|
User | Tyx2019 |
Submission Time | 2023-11-20 20:08:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In member function ‘void node::update(long long int, long long int, long long int)’:
segmenttree2.cpp:30:7: error: ‘struct node’ has no member named ‘v’
30 | l->v += ladd *(M-S+1);
| ^
segmenttree2.cpp:31:7: error: ‘struct node’ has no member named ‘v’
31 | r->v += ladd * (E-M);
| ^
segmenttree2.cpp: In member function ‘long long int node::qry(long long int, long long int)’:
segmenttree2.cpp:49:7: error: ‘struct node’ has no member named ‘v’
49 | l->v += ladd *(M-S+1);
| ^
segmenttree2.cpp:50:7: error: ‘struct node’ has no member named ‘v’
50 | r->v += ladd * (E-M);
| ^