race.cpp:16:55: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
16 | int d, dsu[200069], cc[200069], lz[200069][2], z, inf=1e18;
| ^~~~
race.cpp: In function 'void jo(int, int)':
race.cpp:11:11: error: 'struct std::_Rb_tree_const_iterator<std::pair<int, int> >' has no member named 'first'
11 | #define F first
| ^~~~~
race.cpp:33:35: note: in expansion of macro 'F'
33 | if (it2 != ms[x].end() && it2.F + lz[x][1] == d - k)
| ^
race.cpp:12:11: error: 'struct std::_Rb_tree_const_iterator<std::pair<int, int> >' has no member named 'second'
12 | #define S second
| ^~~~~~
race.cpp:34:24: note: in expansion of macro 'S'
34 | z = min(z, w + it2.S + lz[x][0]);
| ^
race.cpp: In function 'void dfs(int)':
race.cpp:45:3: error: 'vtd' was not declared in this scope; did you mean 'std'?
45 | vtd[x] = cc[x] = 1; dsu[x] = x;
| ^~~
| std