0_0_29882756_24837.cpp: In function 'int main()':
0_0_29882756_24837.cpp:98:45: error: 'arr' was not declared in this scope
for(int i=2; i<=n; i++) scanf("%d",&arr[i]);
^
0_0_29882756_24837.cpp:106:17: error: 'arr' was not declared in this scope
x = arr[i];
^
|