Main.cc: In function 'int main()': Main.cc:25:21: error: invalid types 'int[int]' for array subscript a[e]=pow(i,2)*(x[i]-'0'); ^