Solve D. Serega and Fun using Treap
hi , anyone have any idea about how to solve D. Serega and Fun using treap ?
thanks for any help
ABC 356 Quick Solution Discussion (with myself)
Atcoder ABC #356 Solution Discussion