Problem dynamicdiameter
User Pan
Submission Time 2024-08-19 23:33:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dynamicdiameter.cpp: In function ‘void set_weight(ll, ll, ll)’:
dynamicdiameter.cpp:193:8: error: ‘i’ was not declared in this scope
193 | edges[i].s = w;
| ^