codeforces 915F Imbalance Value of a Tree

NoSuchKey