Problem treecutting
User FIips
Submission Time 2026-03-11 23:53:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int32_t main()’:
treecutting.cpp:28:27: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
28 | fill(dist, dist + n + 1, inf);
| ^~~
| ynf