0_0_27933233_30633.cpp: In function 'int main()': 0_0_27933233_30633.cpp:112:53: error: 'X' was not declared in this scope ans[i][j] += mp_poly[i][j][k] * X[k]; ^