0_0_16735258_11884.cpp: In function 'long long int ans(int)': 0_0_16735258_11884.cpp:19:13: error: 'i' was not declared in this scope return a[i-1]; ^