0_0_16229299_10334.cpp: In function 'int main()': 0_0_16229299_10334.cpp:30:40: error: 'y' was not declared in this scope a[++r] = j; b[r] = y; ^