0_0_23802524_21359.cpp: In function 'int change(int*, int, int, int*, int, int)':
0_0_23802524_21359.cpp:4:19: error: 'n' was not declared in this scope
for(int i=0;i<n;i++)if(b[i]==c[n-1])break;
^
0_0_23802524_21359.cpp:4:34: error: 'c' was not declared in this scope
for(int i=0;i<n;i++)if(b[i]==c[n-1])break;
^
0_0_23802524_21359.cpp: In function 'int main()':
0_0_23802524_21359.cpp:10:17: error: 'n' was not declared in this scope
scanf("%d",&n);
^
0_0_23802524_21359.cpp:11:37: error: 'a' was not declared in this scope
for(int i=0;i<n;i++)scanf("%d",&a[i]);
^
0_0_23802524_21359.cpp:12:9: error: 'i' was not declared in this scope
for(i=0;i<n;i++)scanf("%d",&b[i]);
^
0_0_23802524_21359.cpp:12:33: error: 'b' was not declared in this scope
for(i=0;i<n;i++)scanf("%d",&b[i]);
^
0_0_23802524_21359.cpp:13:12: error: 'a' was not declared in this scope
change(a,0,n-1,b,0,n-1);
^
0_0_23802524_21359.cpp:13:20: error: 'b' was not declared in this scope
change(a,0,n-1,b,0,n-1);
^
|