2018牛客网暑假ACM多校训练赛(第四场)A Ternary String 数论

NoSuchKey