Rating:

Regenerate a tree from edge list and calculate related statistics

Original writeup (https://imp.ress.me/blog/2023-08-28/sekaictf-2023#cryptography-2).