Problem party
User chatdanai
Submission Time 2026-05-05 13:36:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:24:18: error: ‘u’ was not declared in this scope
24 | dist[v]=dist[u]+1;
| ^