race.cpp:4:18: warning: extra tokens at end of #include directive
4 | #include "race.h";
| ^
race.cpp:13:17: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+17' to '2147483647' [-Woverflow]
13 | const int INF = 1e17 , MOD = 1e9 + 7;
| ^~~~
race.cpp: In function 'int find_subtree_size(int, int)':
race.cpp:24:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
24 | for(auto [it, dist] : adj[pos])
| ^
race.cpp: In function 'int find_centroid(int, int, int)':
race.cpp:33:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
33 | for(auto [it, dist] : adj[pos])
| ^
race.cpp: In function 'void solve(int, int, int, int)':
race.cpp:47:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
47 | for(auto [it, dist] : adj[pos])
| ^
race.cpp: In function 'void build_decomp(int)':
race.cpp:57:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
57 | for(auto [it, dist] : adj[centroid])
| ^
race.cpp:64:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
64 | for(auto [it, dist] : adj[centroid])
| ^