Problem ghostrule
User Xiaoyang
Submission Time 2023-12-30 15:37:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ghostrule.cpp: In function ‘void dfs(ll, ll, ll)’:
ghostrule.cpp:27:24: error: ‘v’ was not declared in this scope
27 | curr=max(curr,x-dist[v]);
| ^