Input: 1 1 3 6 Output: 4 18
这份代码和这份代码中的插值部分分别求出了前 nnn 项和前 n+1n+1n+1 项的值。这是错误的,因为答案可以 n+1n+1n+1 次多项式,至少需要 n+2n+2n+2 项才能确定。