This problem is in Contest(s) below:
Contest 1783:基础组
Contest 1817:基本的数学运算
Contest 1979:零基础第四节