This problem is in Contest(s) below:
Contest 1353:拉格朗日插值
Contest 1472:FFT