ivan100sic / competelib-snippets

Snippets for competitive programming
The Unlicense
5 stars 2 forks source link

BUG in tree_topology_ex #20

Closed ivan100sic closed 2 months ago

ivan100sic commented 11 months ago

Function kth, should be if (k <= d[x] - d[z]) {

ivan100sic commented 2 months ago

This should be trivial to fix, but please also include a test case which covers this bug.

ivan100sic commented 2 months ago

Resolved by #26