0_0_33575864_14368.cpp: In function 'int main()': 0_0_33575864_14368.cpp:14:3: error: 'v' was not declared in this scope v.clear(); ^ 0_0_33575864_14368.cpp:28:30: error: expected ')' before ';' token ans+=(a[i]*((n-i-1))*(i+1); ^