This problem is in Contest(s) below:
Contest 1053:倍增、快速幂、ST算法专题练习(一)