Problem fencing2
User Pan
Submission Time 2024-10-31 19:13:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fencing2.cpp: In member function ‘void node::propogate()’:
fencing2.cpp:63:25: error: invalid type argument of unary ‘*’ (have ‘ll’ {aka ‘long long int’})
63 | up += sum(e-s+1)*lazy;
| ^~~~
fencing2.cpp:64:27: error: invalid type argument of unary ‘*’ (have ‘ll’ {aka ‘long long int’})
64 | down += sum(e-s+1)*lazy;
| ^~~~