0_0_38583445_7670.cpp: In function 'void solve(int)': 0_0_38583445_7670.cpp:16:16: error: 'a' was not declared in this scope cin >> a[i]; ^ 0_0_38583445_7670.cpp:20:17: error: 'a' was not declared in this scope cout << a[i] << " \n"[i == n - 1]; ^