This problem is in Contest(s) below:
Contest 1007:函数的定义