Codeforces Round #630 (Div. 2) E. Height All the Same(组合数学 快速幂 逆元)

NoSuchKey