cf789b专题

CF789B Masha and geometric depression 题解 分类讨论

Masha and geometric depression 传送门 Masha really loves algebra. On the last lesson, her strict teacher Dvastan gave she new exercise. You are given geometric progression b b b defined by two intege