Problem treecutting
User dacashew
Submission Time 2023-12-15 08:50:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘long long int ldfs(long long int, long long int)’:
treecutting.cpp:126:34: error: expected ‘)’ before ‘]’ token
126 | lsize[node]=max(lsize[node],dmax]);
| ~ ^
| )