Problem | visiting |
---|---|
User | Pan |
Submission Time | 2024-08-15 23:59:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
visiting.cpp: In function ‘ll find_diameter(ll, ll)’:
visiting.cpp:101:113: error: expected ‘]’ before ‘;’ token
101 | if (maxdist[x] != -1e13 && maxdist[u.f] !=-1e13) maxdist[ret = max(ret, maxdist[x] + maxdist[u.f] - 2*dist[x]);
| ^
| ]