Codeforces 935D Fafa and Ancient Alphabet(概率+逆元)

NoSuchKey