citymapping.cpp:18:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
18 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
citymapping.cpp:18:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
18 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
citymapping.cpp:19:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
citymapping.cpp:19:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
citymapping.cpp: In function 'll dist(int, int)':
citymapping.cpp:26:29: error: 'get_distance' was not declared in this scope
26 | if (!d[x][y]) d[x][y] = get_distance(x, y);
| ^~~~~~~~~~~~
citymapping.cpp: In lambda function:
citymapping.cpp:47:24: error: 'x' was not declared in this scope
47 | return dist(1, x) < dist(1, y);
| ^
citymapping.cpp:47:37: error: 'y' was not declared in this scope
47 | return dist(1, x) < dist(1, y);
| ^
citymapping.cpp: In function 'void find_roads(int, int, int*, int*, int*)':
citymapping.cpp:58:66: error: request for member 'back' in 'r', which is of non-class type 'int'
58 | ll x = dist(1, path.back()) + dist(1, u) - dist(u, r.back()); x /= 2;
| ^~~~