codeforces 734 E. Anton and Tree(连通分量缩点+树的直径)

NoSuchKey