Problem | segmenttreebeats |
---|---|
User | jatrophalouvre |
Submission Time | 2024-06-30 19:56:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttreebeats.cpp: In member function ‘void SEG::upd(long long int, long long int)’:
segmenttreebeats.cpp:36:26: error: ‘v’ was not declared in this scope
36 | sum=vmax=sod(v);
| ^
segmenttreebeats.cpp: In function ‘int main()’:
segmenttreebeats.cpp:83:18: error: ‘struct SEG’ has no member named ‘update’
83 | seg->update(l, r);
| ^~~~~~
segmenttreebeats.cpp:88:24: error: ‘struct SEG’ has no member named ‘query’; did you mean ‘qry’?
88 | cout<<seg->query(pos)<<endl;
| ^~~~~
| qry