Codeforces-Round#548(Div.2)-C-Edgy Trees-快速幂

NoSuchKey