0_0_38704748_24599.cpp: In function 'double cal(double)': 0_0_38704748_24599.cpp:14:11: error: 'y' was not declared in this scope 14 | sum+=(y*y*y*w[i]); //每个位置的值加和 | ^