0_0_13799005_6033.cpp: In function 'int main()': 0_0_13799005_6033.cpp:15:7: error: 'i' was not declared in this scope a[i+1]=-1; ^