Problem treecutting
User Pan
Submission Time 2024-01-03 14:25:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int main()’:
treecutting.cpp:115:14: error: request for member ‘assign’ in ‘on_diameter’, which is of non-class type ‘bool [300005]’
115 | on_diameter.assign(n, false);
| ^~~~~~