0_0_14721176_15769.cpp: In function 'int main()': 0_0_14721176_15769.cpp:32:31: error: 'a' cannot be used as a function ans = a(ans + a[i]); ^