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