Problem | cokemoresugar |
---|---|
User | popperoni |
Submission Time | 2024-12-11 11:59:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cokemoresugar.cpp:25:21: error: redeclaration of ‘long long int node::val’
25 | ll S, E, val, lazy,val;
| ^~~
cokemoresugar.cpp:25:11: note: previous declaration ‘long long int node::val’
25 | ll S, E, val, lazy,val;
| ^~~
cokemoresugar.cpp: In member function ‘void node::up2(long long int, long long int, long long int)’:
cokemoresugar.cpp:54:4: error: ‘val2’ was not declared in this scope; did you mean ‘val’?
54 | val2 += v*(E-S+1);
| ^~~~
| val
cokemoresugar.cpp:55:13: error: ‘lazy2’ was not declared in this scope; did you mean ‘lazy’?
55 | lazy2 += v;
| ^~~~~
| lazy
cokemoresugar.cpp:61:12: error: ‘struct node’ has no member named ‘val2’; did you mean ‘val’?
61 | val = l->val2+r->val2;
| ^~~~
| val
cokemoresugar.cpp:61:20: error: ‘struct node’ has no member na