Problem | segmenttreebeats |
---|---|
User | jatrophalouvre |
Submission Time | 2024-06-30 19:56:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttreebeats.cpp: In constructor ‘SEG::SEG(long long int, long long int)’:
segmenttreebeats.cpp:21:17: error: ‘v’ was not declared in this scope
21 | sum=v=s[l];
| ^
segmenttreebeats.cpp: In member function ‘void SEG::upd(long long int, long long int)’:
segmenttreebeats.cpp:33:13: error: ‘v’ was not declared in this scope
33 | if (v<10) return;
| ^
segmenttreebeats.cpp:36:17: error: ‘v’ was not declared in this scope
36 | sum=v=sod(v);
| ^
segmenttreebeats.cpp:44:19: error: ‘struct SEG’ has no member named ‘update’
44 | rptr->update(mid+1, y);
| ^~~~~~
segmenttreebeats.cpp: In member function ‘long long int SEG::qry(long long int)’:
segmenttreebeats.cpp:51:26: error: ‘v’ was not declared in this scope
51 | if (l==r) return v;
| ^
segmenttreeb