Problem treecutting
User Srivatsav
Submission Time 2024-04-15 19:21:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘void solve()’:
treecutting.cpp:181:24: error: ‘v2’ was not declared in this scope; did you mean ‘vv’?
181 | ans = max(ans, v2.first + b.first);
| ^~
| vv