Problem citymapping
User shoryu386
Submission Time 2023-04-21 14:45:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

citymapping.cpp: In function ‘int find_furthest(int)’:
citymapping.cpp:10:13: error: ‘find_distance’ was not declared in this scope; did you mean ‘get_distance’?
10 | ll dist = find_distance(root, x);
| ^~~~~~~~~~~~~
| get_distance
citymapping.cpp: In function ‘void find_roads(int, int, int*, int*, int*)’:
citymapping.cpp:37:14: error: ‘find_distance’ was not declared in this scope; did you mean ‘get_distance’?
37 | ll dist = find_distance(f,x);
| ^~~~~~~~~~~~~
| get_distance