This problem is in Contest(s) below:
Contest 1294:大数
Contest 1307:循环结构