Problem cokemoresugar
User popperoni
Submission Time 2024-12-11 11:59:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cokemoresugar.cpp: In member function ‘void node::up2(long long int, long long int, long long int)’:
cokemoresugar.cpp:55:13: error: ‘lazy2’ was not declared in this scope; did you mean ‘lazy’?
55 | lazy2 += v;
| ^~~~~
| lazy
cokemoresugar.cpp: In member function ‘void node::prop()’:
cokemoresugar.cpp:75:12: error: ‘lazy2’ was not declared in this scope; did you mean ‘lazy’?
75 | l->val2+=lazy2*(M-S+1);
| ^~~~~
| lazy
cokemoresugar.cpp:76:6: error: ‘struct node’ has no member named ‘lazy2’; did you mean ‘lazy’?
76 | l->lazy2+=lazy2;
| ^~~~~
| lazy
cokemoresugar.cpp:78:6: error: ‘struct node’ has no member named ‘lazy2’; did you mean ‘lazy’?
78 | r->lazy2+=lazy2;
| ^~~~~
| lazy
cokemoresugar.cpp: In function ‘int main()’:
cokemoresugar.cpp:99:3: error: ‘up’ was not declared in thi