0_0_21530353_10273.cpp:23:1: error: expected initializer before 'int'
int n;
^
0_0_21530353_10273.cpp: In function 'int main()':
0_0_21530353_10273.cpp:30:10: error: 'n' was not declared in this scope
cin >> n;
^
0_0_21530353_10273.cpp:33:11: error: 'a' was not declared in this scope
cin >> a[i];
^
0_0_21530353_10273.cpp:43:13: error: 'a' was not declared in this scope
int ans = a[1];
^
|