Problem flows
User dakingwawin
Submission Time 2024-12-14 15:09:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flows.cpp: In function ‘int32_t main()’:
flows.cpp:33:24: error: ‘ll’ was not declared in this scope; did you mean ‘l’?
33 | ans[i] = ans[l[i]] + ll(i-l[i]) * h[i];
| ^~
| l
flows.cpp:33:37: error: ‘h’ was not declared in this scope
33 | ans[i] = ans[l[i]] + ll(i-l[i]) * h[i];
| ^