Posted on June 8, 2020June 8, 2020 References 1.https://codeforces.com/blog/entry/70957 By Bill0412 CP